TimedSDFchannel Class Reference

#include <channel.h>

Inheritance diagram for TimedSDFchannel:
Collaboration diagram for TimedSDFchannel:

List of all members.

Classes

struct  _BufferSize

Public Types

typedef struct
TimedSDFchannel::_BufferSize 
BufferSize

Public Member Functions

 TimedSDFchannel (SDFcomponent &c)
 ~TimedSDFchannel ()
TimedSDFchannelcreate (SDFcomponent &c) const
TimedSDFchannelcreateCopy (SDFcomponent &c) const
TimedSDFchannelclone (SDFcomponent &c) const
void setProperties (const CNodePtr propertiesNode)
BufferSize getBufferSize () const
void setBufferSize (const BufferSize s)
bool isUnbounded () const
TimedSDFchannelgetStorageSpaceChannel () const
void setStorageSpaceChannel (TimedSDFchannel *c)
bool modelsStorageSpace () const
double getMinBandwidth () const
void setMinBandwidth (const double b)
int getTokenSize () const
void setTokenSize (const int s)
bool isControlToken () const
bool isDataToken () const
CString getTokenType () const
void setTokenType (const CString &type)
SDFtime getMinLatency () const
void setMinLatency (const SDFtime t)
ostream & print (ostream &out)

Private Attributes

TimedSDFchannelmodelStorageSpaceCh
BufferSize bufferSize
CString tokenType
double minBandwidth
int tokenSize
SDFtime minLatency

Friends

ostream & operator<< (ostream &out, TimedSDFchannel &c)

Detailed Description

TimedSDFchannel Timed SDF channel.


Member Typedef Documentation


Constructor & Destructor Documentation

TimedSDFchannel::~TimedSDFchannel (  ) 

~TimedSDFchannel () Destructor.


Member Function Documentation

TimedSDFchannel * TimedSDFchannel::clone ( SDFcomponent c  )  const [virtual]

clone () The function returns a pointer to a newly allocated SDF channel object. The properties of the object are cloned.

Reimplemented from SDFchannel.

References SDFchannel::connectDst(), SDFchannel::connectSrc(), createCopy(), SDFgraph::getActor(), SDFchannel::getDstActor(), SDFchannel::getDstPort(), SDFchannel::getGraph(), SDFchannel::getInitialTokens(), SDFcomponent::getName(), SDFactor::getPort(), SDFchannel::getSrcActor(), SDFchannel::getSrcPort(), and SDFchannel::setInitialTokens().

Here is the call graph for this function:

TimedSDFchannel * TimedSDFchannel::create ( SDFcomponent c  )  const [virtual]

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

Reimplemented from SDFchannel.

References TimedSDFchannel().

Referenced by modelBufferSizeInSDFgraph().

Here is the call graph for this function:

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

createCopy () The function returns a pointer to a newly allocated SDF channel object. The properties of the object are copied.

Reimplemented from SDFchannel.

References getBufferSize(), getMinBandwidth(), getMinLatency(), SDFcomponent::getName(), getStorageSpaceChannel(), getTokenSize(), getTokenType(), setBufferSize(), setMinBandwidth(), setMinLatency(), SDFcomponent::setName(), setStorageSpaceChannel(), setTokenSize(), setTokenType(), and TimedSDFchannel().

Referenced by clone().

Here is the call graph for this function:

bool TimedSDFchannel::isControlToken (  )  const

isControlToken () The function returns true if the channel is contains control tokens, else it return false. Note, if the token size is unknown, the functions always returns false.

References getTokenSize().

Here is the call graph for this function:

bool TimedSDFchannel::isDataToken (  )  const

isDataToken () The function returns true if the channel is contains data tokens, else it return false. Note, if the token size is unknown, the functions always returns false.

References getTokenSize().

Here is the call graph for this function:

bool TimedSDFchannel::isUnbounded (  )  const

isUnbounded () The function returns true if the channel is unbounded. If the size is bounded it returns false.

References getBufferSize(), and SDF_INFINITE_SIZE.

Referenced by modelBufferSizeInSDFgraph().

Here is the call graph for this function:

void TimedSDFchannel::setMinBandwidth ( const double  b  )  [inline]
void TimedSDFchannel::setMinLatency ( const SDFtime  t  )  [inline]
void TimedSDFchannel::setProperties ( const CNodePtr  propertiesNode  ) 
void TimedSDFchannel::setTokenSize ( const int  s  )  [inline]
void TimedSDFchannel::setTokenType ( const CString type  )  [inline]

References tokenType.

Referenced by createCopy(), and setProperties().


Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
TimedSDFchannel c 
) [friend]

Member Data Documentation

Referenced by getTokenSize(), and setTokenSize().


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