PandA-2024.02
|
Functor used to write the content of the design flow edge to dotty file. More...
#include <design_flow_graph.hpp>
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 graph * | printing_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... | |
Functor used to write the content of the design flow edge to dotty file.
Definition at line 311 of file design_flow_graph.hpp.
DesignFlowEdgeWriter::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.
design_flow_graph | is the graph to be printed |
vertex_history | are the vertices which have to be printed |
edge_history | are the edges which have to be printed |
detail_level | is the detail level |
Definition at line 284 of file design_flow_graph.cpp.
|
overridevirtual |
Functor actually called by the boost library to perform the writing.
out | is the stream where the edges have to be printed |
edge | is 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.
|
private |
Edges which have to be printed (empty means all)
Definition at line 318 of file design_flow_graph.hpp.
Referenced by operator()().
|
private |
Actors which have to be printed (empty means all)
Definition at line 315 of file design_flow_graph.hpp.
Referenced by operator()().