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

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

#include <design_flow_graph.hpp>

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

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 graphprinting_graph
 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 step to dotty file.

Definition at line 273 of file design_flow_graph.hpp.

Constructor & Destructor Documentation

◆ DesignFlowStepWriter()

DesignFlowStepWriter::DesignFlowStepWriter ( const DesignFlowGraph design_flow_graph,
const CustomMap< vertex, DesignFlowStep_Status > &  vertex_history = CustomMap<vertexDesignFlowStep_Status>(),
const CustomMap< vertex, std::string > &  actor_names = CustomMap<vertex, std::string>(),
const int  detail_level = 0 
)

Constructor.

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

Definition at line 156 of file design_flow_graph.cpp.

References ~DesignFlowStepWriter().

Here is the call graph for this function:

◆ ~DesignFlowStepWriter()

DesignFlowStepWriter::~DesignFlowStepWriter ( )
overridedefault

Destructor.

Referenced by DesignFlowStepWriter().

Here is the caller graph for this function:

Member Function Documentation

◆ operator()()

void DesignFlowStepWriter::operator() ( std::ostream &  out,
const vertex v 
) const
overridevirtual

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

Parameters
outis the stream where the nodes have to be printed
vis 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.

Field Documentation

◆ actor_names

const CustomMap<vertex, std::string>& DesignFlowStepWriter::actor_names
private

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()().

◆ vertex_history

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

Actors which have to be printed (empty means all)

Definition at line 277 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:50 for PandA-2024.02 by doxygen 1.8.13