41#include "program/program.h"
68 const std::shared_ptr<Program::Program> prog)
88 void setProgram(
const std::shared_ptr<Program::Program> prog)
const;
140 mutable std::shared_ptr<Program::Program>
program;
The Program class contains a list of program lines that can be executed within a well defined Environ...
Definition: program.h:53
Class representing edges of the Tangled Program Graphs.
Definition: tpgEdge.h:51
std::shared_ptr< Program::Program > program
Definition: tpgEdge.h:140
TPGEdge()=delete
Delete the default constructor.
virtual ~TPGEdge()=default
Default virtual destructor (for polymorphism)
const TPGVertex * source
Pointer to the source TPGVertex of this TPGEdge.
Definition: tpgEdge.h:131
const TPGVertex * getDestination() const
Get the destination TPGVertex of the TPGEdge.
Definition: tpgEdge.cpp:64
void setDestination(TPGVertex *newDestination)
Set a new destination TPGVertex to the TPGEdge.
Definition: tpgEdge.cpp:69
const TPGVertex * getSource() const
Get the source TPGVertex of the TPGEdge.
Definition: tpgEdge.cpp:54
const TPGVertex * destination
Pointer to the destination TPGVertex of this TPGEdge.
Definition: tpgEdge.h:134
Program::Program & getProgram() const
Get a const reference to the Program of the TPGEdge.
Definition: tpgEdge.cpp:38
void setSource(TPGVertex *newSource)
Set a new source TPGVertex to the TPGEdge.
Definition: tpgEdge.cpp:59
std::shared_ptr< Program::Program > getProgramSharedPointer()
Get the shared_pointer to the Program.
Definition: tpgEdge.cpp:49
TPGEdge(const TPGVertex *src, const TPGVertex *dest, const std::shared_ptr< Program::Program > prog)
Main constructor of the TPGEdge class.
Definition: tpgEdge.h:67
void setProgram(const std::shared_ptr< Program::Program > prog) const
Set a new Program for the TPGEdge.
Definition: tpgEdge.cpp:43
Abstract class representing the vertices of a TPGGraph.
Definition: tpgVertex.h:49
Definition: tpgActionInstrumented.h:8