PandA-2024.02
Public Member Functions | Protected Attributes
ActorGraphBackend Class Referenceabstract

#include <actor_graph_backend.hpp>

Collaboration diagram for ActorGraphBackend:
Collaboration graph
[legend]

Public Member Functions

 ActorGraphBackend (const PartitioningManagerConstRef &partitioning_manager, const CustomUnorderedMap< ActorGraph_Type, ActorGraphBackendRef > &actor_graph_backends, const CWriterRef &c_writer, const IndentedOutputStreamRef &indented_output_stream, const ParameterConstRef &parameters, const bool verbose)
 Constructor. More...
 
virtual ~ActorGraphBackend ()
 Destructor. More...
 
virtual void WriteBodyLoop (const ActorGraphManagerConstRef actor_graph_manager)=0
 Write the implementation of the body of a loop associated with an actor graph. More...
 
virtual void WriteActorGraph (const ActorGraphManagerConstRef actor_graph_manager)=0
 Write the implementation of an actor graph. More...
 
virtual const ActorGraphWriterRef GetActorGraphWriter ()=0
 

Protected Attributes

const PartitioningManagerConstRef partitioning_manager
 The partitioning manager. More...
 
const CustomUnorderedMap< ActorGraph_Type, ActorGraphBackendRef > & actor_graph_backends
 The map containing all the actor graph writers. More...
 
const CWriterRef c_writer
 The writer used to print the content of an actor. More...
 
const IndentedOutputStreamRef indented_output_stream
 The output stream. More...
 
const ParameterConstRef parameters
 The set of input parameters. More...
 
const bool verbose
 True if comments have to be printed. More...
 
int debug_level
 The debug_level. More...
 

Detailed Description

Definition at line 72 of file actor_graph_backend.hpp.

Constructor & Destructor Documentation

◆ ActorGraphBackend()

ActorGraphBackend::ActorGraphBackend ( const PartitioningManagerConstRef &  partitioning_manager,
const CustomUnorderedMap< ActorGraph_Type, ActorGraphBackendRef > &  actor_graph_backends,
const CWriterRef c_writer,
const IndentedOutputStreamRef indented_output_stream,
const ParameterConstRef parameters,
const bool  verbose 
)

Constructor.

Parameters
partitioning_manageris the partitioning manager
actor_graph_backendsare the backend used to print graphs; NOTE: this parameters has to be passed by reference; it is actually allocated in ParallelCWriter
c_writeris the writer used to print content of the actor
indented_output_streamis the output stream
parametersis the set of input parameters
verbosespecifies if comments have to be printed

Definition at line 64 of file actor_graph_backend.cpp.

References ~ActorGraphBackend().

Here is the call graph for this function:

◆ ~ActorGraphBackend()

ActorGraphBackend::~ActorGraphBackend ( )
virtualdefault

Destructor.

Referenced by ActorGraphBackend().

Here is the caller graph for this function:

Member Function Documentation

◆ GetActorGraphWriter()

virtual const ActorGraphWriterRef ActorGraphBackend::GetActorGraphWriter ( )
pure virtual
Returns
the associated writer

◆ WriteActorGraph()

virtual void ActorGraphBackend::WriteActorGraph ( const ActorGraphManagerConstRef  actor_graph_manager)
pure virtual

Write the implementation of an actor graph.

Parameters
actor_graph_manageris the actor graph manager to be created

◆ WriteBodyLoop()

virtual void ActorGraphBackend::WriteBodyLoop ( const ActorGraphManagerConstRef  actor_graph_manager)
pure virtual

Write the implementation of the body of a loop associated with an actor graph.

Parameters
actor_graph_manageris the actor graph

Field Documentation

◆ actor_graph_backends

const CustomUnorderedMap<ActorGraph_Type, ActorGraphBackendRef>& ActorGraphBackend::actor_graph_backends
protected

The map containing all the actor graph writers.

Definition at line 79 of file actor_graph_backend.hpp.

◆ c_writer

const CWriterRef ActorGraphBackend::c_writer
protected

The writer used to print the content of an actor.

Definition at line 82 of file actor_graph_backend.hpp.

◆ debug_level

int ActorGraphBackend::debug_level
protected

The debug_level.

Definition at line 94 of file actor_graph_backend.hpp.

◆ indented_output_stream

const IndentedOutputStreamRef ActorGraphBackend::indented_output_stream
protected

The output stream.

Definition at line 85 of file actor_graph_backend.hpp.

◆ parameters

const ParameterConstRef ActorGraphBackend::parameters
protected

The set of input parameters.

Definition at line 88 of file actor_graph_backend.hpp.

◆ partitioning_manager

const PartitioningManagerConstRef ActorGraphBackend::partitioning_manager
protected

The partitioning manager.

Definition at line 76 of file actor_graph_backend.hpp.

◆ verbose

const bool ActorGraphBackend::verbose
protected

True if comments have to be printed.

Definition at line 91 of file actor_graph_backend.hpp.


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

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