TimedSDFgraph Class Reference

#include <graph.h>

Inheritance diagram for TimedSDFgraph:
Collaboration diagram for TimedSDFgraph:

List of all members.

Public Member Functions

 TimedSDFgraph (SDFcomponent &c)
 TimedSDFgraph ()
 ~TimedSDFgraph ()
TimedSDFgraphcreate (SDFcomponent &c) const
TimedSDFgraphcreateCopy (SDFcomponent &c) const
TimedSDFgraphclone (SDFcomponent &c) const
TimedSDFgraphclone () const
void construct (const CNodePtr sdfNode, const CNodePtr sdfPropertiesNode)
void setProperties (const CNodePtr propertiesNode)
TimedSDFactorcreateActor ()
TimedSDFactorcreateActor (SDFcomponent &c)
TimedSDFchannelcreateChannel (SDFcomponent &c)
TimedSDFchannelcreateChannel (SDFactor *src, SDFrate rateSrc, SDFactor *dst, SDFrate rateDst, uint initialTokens)
SDFthroughput getThroughputConstraint () const
void setThroughputConstraint (const SDFthroughput t)
ostream & print (ostream &out)

Private Attributes

SDFthroughput throughputConstraint

Friends

ostream & operator<< (ostream &out, TimedSDFgraph &g)

Detailed Description

TimedSDFgraph Container for timed SDF graph.


Constructor & Destructor Documentation

TimedSDFgraph::TimedSDFgraph ( SDFcomponent c  ) 

TimedSDFgraph () Constructor.

TimedSDFgraph::TimedSDFgraph (  ) 

TimedSDFgraph () Constructor.

Referenced by create(), and createCopy().

TimedSDFgraph::~TimedSDFgraph (  ) 

~TimedSDFgraph () Destructor.


Member Function Documentation

TimedSDFgraph * TimedSDFgraph::clone (  )  const

clone () The function returns a pointer to a newly allocated SDF graph object. The properties of this graph are also assigned to the new graph.

References SDFcomponent::getId(), SDFcomponent::getName(), SDFcomponent::getParent(), and SDFcomponent::SDFcomponent().

Here is the call graph for this function:

void TimedSDFgraph::construct ( const CNodePtr  sdfNode,
const CNodePtr  sdfPropertiesNode 
)
TimedSDFgraph * TimedSDFgraph::create ( SDFcomponent c  )  const [virtual]

create () The function returns a pointer to a newly allocated SDF graph object.

Reimplemented from SDFgraph.

References TimedSDFgraph().

Here is the call graph for this function:

TimedSDFactor * TimedSDFgraph::createActor ( SDFcomponent c  )  [virtual]

createActor () Create a new actor on the graph.

Reimplemented from SDFgraph.

References a, and SDFgraph::addActor().

Here is the call graph for this function:

TimedSDFactor * TimedSDFgraph::createActor (  )  [virtual]

createActor () Create a new actor on the graph.

Reimplemented from SDFgraph.

References a, SDFgraph::addActor(), c, SDFgraph::nrActors(), SDFcomponent::SDFcomponent(), and SDFcomponent::setName().

Referenced by createActor(), createCapacityConstrainedModel(), and FSMSADF::ScenarioGraph::extractSDFgraph().

Here is the call graph for this function:

TimedSDFchannel * TimedSDFgraph::createChannel ( SDFcomponent c  )  [virtual]
TimedSDFchannel * TimedSDFgraph::createChannel ( SDFactor src,
SDFrate  rateSrc,
SDFactor dst,
SDFrate  rateDst,
uint  initialTokens 
)

createChannel () The function creates a channel between the source and destination actor. Ports with the supplied rates are added to these actors.

Reimplemented from SDFgraph.

References c, SDFchannel::connectDst(), SDFchannel::connectSrc(), createChannel(), SDFactor::createPort(), SDFport::In, SDFgraph::nrChannels(), SDFactor::nrPorts(), SDFport::Out, SDFcomponent::SDFcomponent(), SDFchannel::setInitialTokens(), and SDFcomponent::setName().

Here is the call graph for this function:

TimedSDFgraph * TimedSDFgraph::createCopy ( SDFcomponent c  )  const [virtual]

createCopy () The function returns a pointer to a newly allocated SDF graph object. The properties of this graph are also assigned to the new graph.

Reimplemented from SDFgraph.

References g, SDFcomponent::getName(), SDFgraph::getType(), SDFcomponent::setName(), SDFgraph::setType(), and TimedSDFgraph().

Referenced by clone(), and MaxPlusAnalysis::Exploration::convertToHSDFByMP().

Here is the call graph for this function:

ostream & TimedSDFgraph::print ( ostream &  out  ) 

print () Print the graph to the supplied output stream.

Reimplemented from SDFgraph.

References a, SDFgraph::actorsBegin(), SDFgraph::actorsEnd(), c, SDFgraph::channelsBegin(), SDFgraph::channelsEnd(), SDFcomponent::getId(), SDFcomponent::getName(), and SDFgraph::getType().

Referenced by printSDFG().

Here is the call graph for this function:

void TimedSDFgraph::setProperties ( const CNodePtr  propertiesNode  ) 

setProperties () Set the properties of a timed actor.

References CGetChildNode(), CGetNodeContent(), CHasChildNode(), CNextNode(), and setThroughputConstraint().

Referenced by construct().

Here is the call graph for this function:

void TimedSDFgraph::setThroughputConstraint ( const SDFthroughput  t  )  [inline]

Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
TimedSDFgraph g 
) [friend]

Member Data Documentation


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