PandA-2024.02
Public Member Functions | Private Attributes
DesignFlowEdgeWriter Class Reference

Functor used to write the content of the design flow edge to dotty file. More...

#include <design_flow_graph.hpp>

Inheritance diagram for DesignFlowEdgeWriter:
Inheritance graph
[legend]
Collaboration diagram for DesignFlowEdgeWriter:
Collaboration graph
[legend]

Public Member Functions

 DesignFlowEdgeWriter (const DesignFlowGraph *design_flow_graph, const CustomMap< vertex, DesignFlowStep_Status > &vertex_history=CustomMap< vertex, DesignFlowStep_Status >(), const CustomUnorderedMapStable< EdgeDescriptor, int > &edge_history=CustomUnorderedMapStable< EdgeDescriptor, int >(), const int detail_level=0)
 Constructor. More...
 
void operator() (std::ostream &out, const EdgeDescriptor &edge) const override
 Functor actually called by the boost library to perform the writing. More...
 
- Public Member Functions inherited from EdgeWriter
 EdgeWriter (const graph *_printing_graph, const int _detail_level)
 Constructor. More...
 
virtual ~EdgeWriter ()=default
 Destructor. More...
 

Private Attributes

const CustomMap< vertex, DesignFlowStep_Status > & vertex_history
 Actors which have to be printed (empty means all) More...
 
const CustomUnorderedMapStable< EdgeDescriptor, int > & edge_history
 Edges which have to be printed (empty means all) More...
 

Additional Inherited Members

- Protected Attributes inherited from EdgeWriter
const graphprinting_graph
 The graph to be printed. More...
 
const int selector
 The selector of the graph to be printed. More...
 
const int detail_level
 The detail level. More...
 

Detailed Description

Functor used to write the content of the design flow edge to dotty file.

Definition at line 311 of file design_flow_graph.hpp.

Constructor & Destructor Documentation

◆ DesignFlowEdgeWriter()

DesignFlowEdgeWriter::DesignFlowEdgeWriter ( const DesignFlowGraph design_flow_graph,
const CustomMap< vertex, DesignFlowStep_Status > &  vertex_history = CustomMap<vertexDesignFlowStep_Status>(),
const CustomUnorderedMapStable< EdgeDescriptor, int > &  edge_history = CustomUnorderedMapStable<EdgeDescriptor, int>(),
const int  detail_level = 0 
)

Constructor.

Parameters
design_flow_graphis the graph to be printed
vertex_historyare the vertices which have to be printed
edge_historyare the edges which have to be printed
detail_levelis the detail level

Definition at line 284 of file design_flow_graph.cpp.

Member Function Documentation

◆ operator()()

void DesignFlowEdgeWriter::operator() ( std::ostream &  out,
const EdgeDescriptor edge 
) const
overridevirtual

Functor actually called by the boost library to perform the writing.

Parameters
outis the stream where the edges have to be printed
edgeis the edge to be printed

Implements EdgeWriter.

Definition at line 292 of file design_flow_graph.cpp.

References DesignFlowGraph::DEPENDENCE_FEEDBACK_SELECTOR, edge_history, EMPTY, graph::GetSelector(), DesignFlowGraph::PRECEDENCE_SELECTOR, EdgeWriter::printing_graph, EdgeWriter::selector, SKIPPED, SUCCESS, lenet_tvm::target, UNCHANGED, UNNECESSARY, and vertex_history.

Here is the call graph for this function:

Field Documentation

◆ edge_history

const CustomUnorderedMapStable<EdgeDescriptor, int>& DesignFlowEdgeWriter::edge_history
private

Edges which have to be printed (empty means all)

Definition at line 318 of file design_flow_graph.hpp.

Referenced by operator()().

◆ vertex_history

const CustomMap<vertex, DesignFlowStep_Status>& DesignFlowEdgeWriter::vertex_history
private

Actors which have to be printed (empty means all)

Definition at line 315 of file design_flow_graph.hpp.

Referenced by operator()().


The documentation for this class was generated from the following files:

Generated on Mon Feb 12 2024 13:03:49 for PandA-2024.02 by doxygen 1.8.13