TuttleOFX  1
tuttle::host::graph::IVertex Class Reference

#include <IVertex.hpp>

Inheritance diagram for tuttle::host::graph::IVertex:
Collaboration diagram for tuttle::host::graph::IVertex:

Public Member Functions

 IVertex (const std::string &name="Undefined")
 IVertex (const std::string &name, INode &processNode)
 IVertex (const IVertex &v)
virtual ~IVertex ()=0
IVertexoperator= (const IVertex &v)
bool isFake () const
void setUsed (const bool used=true)
bool isUsed () const
const std::string & getName () const
INodegetProcessNode ()
const INodegetProcessNode () const
void setProcessNode (INode *p)
virtual std::ostream & exportDotDebug (std::ostream &os) const

Data Fields

std::string _name
int _id

Private Attributes

INode_processNode
bool _fake
bool _used

Static Private Attributes

static int _count = 0

Friends

std::ostream & operator<< (std::ostream &os, const IVertex &v)

Detailed Description

Definition at line 15 of file IVertex.hpp.


Constructor & Destructor Documentation

tuttle::host::graph::IVertex::IVertex ( const std::string &  name = "Undefined")

Definition at line 12 of file IVertex.cpp.

tuttle::host::graph::IVertex::IVertex ( const std::string &  name,
INode processNode 
)

Definition at line 20 of file IVertex.cpp.

tuttle::host::graph::IVertex::IVertex ( const IVertex v)

Definition at line 28 of file IVertex.cpp.

References _count, _id, and operator=().

Here is the call graph for this function:

tuttle::host::graph::IVertex::~IVertex ( ) [pure virtual]

Definition at line 34 of file IVertex.cpp.


Member Function Documentation

std::ostream & tuttle::host::graph::IVertex::exportDotDebug ( std::ostream &  os) const [virtual]
Todo:
remove this. Temporary solution

Reimplemented in tuttle::host::graph::ProcessVertex, and tuttle::host::graph::ProcessVertexAtTime.

Definition at line 39 of file IVertex.cpp.

References tuttle::host::graph::dotEntry(), getName(), getProcessNode(), isFake(), and tuttle::host::graph::subDotEntry().

Here is the call graph for this function:

const INode& tuttle::host::graph::IVertex::getProcessNode ( ) const [inline]

Definition at line 48 of file IVertex.hpp.

References _processNode, and getName().

Here is the call graph for this function:

bool tuttle::host::graph::IVertex::isUsed ( ) const [inline]

Definition at line 37 of file IVertex.hpp.

References _used.

IVertex& tuttle::host::graph::IVertex::operator= ( const IVertex v) [inline]

Definition at line 26 of file IVertex.hpp.

References _fake, _name, _processNode, and _used.

Referenced by IVertex().

void tuttle::host::graph::IVertex::setProcessNode ( INode p) [inline]

Definition at line 57 of file IVertex.hpp.

References _processNode.

Referenced by tuttle::host::graph::ProcessGraph::relink().

void tuttle::host::graph::IVertex::setUsed ( const bool  used = true) [inline]

Definition at line 36 of file IVertex.hpp.

References _used.


Friends And Related Function Documentation

std::ostream& operator<< ( std::ostream &  os,
const IVertex v 
) [friend]

Definition at line 56 of file IVertex.cpp.


Field Documentation

int tuttle::host::graph::IVertex::_count = 0 [static, private]

Definition at line 72 of file IVertex.hpp.

Referenced by IVertex().

Definition at line 70 of file IVertex.hpp.

Referenced by isFake(), and operator=().

Definition at line 75 of file IVertex.hpp.

Referenced by IVertex().

Definition at line 71 of file IVertex.hpp.

Referenced by isUsed(), operator=(), and setUsed().


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