PandA-2024.02
|
Functor used to write the content of the design flow step to dotty file. More...
#include <design_flow_graph.hpp>
Public Member Functions | |
DesignFlowStepWriter (const DesignFlowGraph *design_flow_graph, const CustomMap< vertex, DesignFlowStep_Status > &vertex_history=CustomMap< vertex, DesignFlowStep_Status >(), const CustomMap< vertex, std::string > &actor_names=CustomMap< vertex, std::string >(), const int detail_level=0) | |
Constructor. More... | |
~DesignFlowStepWriter () override | |
Destructor. More... | |
void | operator() (std::ostream &out, const vertex &v) const override |
Functor actually called by the boost library to perform the writing. More... | |
Public Member Functions inherited from VertexWriter | |
VertexWriter (const graph *_graph, const int _detail_level) | |
Constructor. More... | |
virtual | ~VertexWriter ()=default |
Destructor. More... | |
Private Attributes | |
const CustomMap< vertex, DesignFlowStep_Status > & | vertex_history |
Actors which have to be printed (empty means all) More... | |
const CustomMap< vertex, std::string > & | actor_names |
The name of the actors (when they cannot be taken from graph. More... | |
Additional Inherited Members | |
Protected Attributes inherited from VertexWriter | |
const graph * | printing_graph |
The graph to be printed. More... | |
const int | detail_level |
The detail level. More... | |
Functor used to write the content of the design flow step to dotty file.
Definition at line 273 of file design_flow_graph.hpp.
DesignFlowStepWriter::DesignFlowStepWriter | ( | const DesignFlowGraph * | design_flow_graph, |
const CustomMap< vertex, DesignFlowStep_Status > & | vertex_history = CustomMap<vertex, DesignFlowStep_Status>() , |
||
const CustomMap< vertex, std::string > & | actor_names = CustomMap<vertex, std::string>() , |
||
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 |
detail_level | is the detail level |
Definition at line 156 of file design_flow_graph.cpp.
References ~DesignFlowStepWriter().
|
overridedefault |
|
overridevirtual |
Functor actually called by the boost library to perform the writing.
out | is the stream where the nodes have to be printed |
v | is the vertex to be printed |
Implements VertexWriter.
Definition at line 165 of file design_flow_graph.cpp.
References ABORTED, actor_names, EMPTY, NONEXISTENT, VertexWriter::printing_graph, SKIPPED, SUCCESS, THROW_UNREACHABLE, UNCHANGED, UNEXECUTED, UNNECESSARY, and vertex_history.
The name of the actors (when they cannot be taken from graph.
Definition at line 280 of file design_flow_graph.hpp.
Referenced by operator()().
|
private |
Actors which have to be printed (empty means all)
Definition at line 277 of file design_flow_graph.hpp.
Referenced by operator()().