TimedCSDFchannel Class Reference

#include <channel.h>

Inheritance diagram for TimedCSDFchannel:
Collaboration diagram for TimedCSDFchannel:

List of all members.

Public Member Functions

 TimedCSDFchannel (CSDFcomponent &c)
 ~TimedCSDFchannel ()
TimedCSDFchannelcreate (CSDFcomponent &c) const
TimedCSDFchannelcreateCopy (CSDFcomponent &c) const
TimedCSDFchannelclone (CSDFcomponent &c) const
CSDFbufferSize getBufferSize () const
void setBufferSize (const CSDFbufferSize s)
bool isUnbounded () const
TimedCSDFchannelgetStorageSpaceChannel () const
void setStorageSpaceChannel (TimedCSDFchannel *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)
CSDFtime getMinLatency () const
void setMinLatency (const CSDFtime t)
ostream & print (ostream &out)

Private Attributes

TimedCSDFchannelmodelStorageSpaceCh
CSDFbufferSize bufferSize
CString tokenType
double minBandwidth
int tokenSize
CSDFtime minLatency

Friends

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

Detailed Description

TimedCSDFchannel Timed CSDF channel.


Constructor & Destructor Documentation

TimedCSDFchannel::TimedCSDFchannel ( CSDFcomponent c  ) 
TimedCSDFchannel::~TimedCSDFchannel (  ) 

~TimedCSDFchannel () Destructor.


Member Function Documentation

TimedCSDFchannel * TimedCSDFchannel::clone ( CSDFcomponent c  )  const [virtual]

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

Reimplemented from CSDFchannel.

References CSDFchannel::connectDst(), CSDFchannel::connectSrc(), createCopy(), CSDFgraph::getActor(), CSDFchannel::getDstActor(), CSDFchannel::getDstPort(), CSDFchannel::getGraph(), CSDFchannel::getInitialTokens(), CSDFcomponent::getName(), CSDFactor::getPort(), CSDFchannel::getSrcActor(), CSDFchannel::getSrcPort(), and CSDFchannel::setInitialTokens().

Here is the call graph for this function:

TimedCSDFchannel * TimedCSDFchannel::create ( CSDFcomponent c  )  const [virtual]

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

Reimplemented from CSDFchannel.

References TimedCSDFchannel().

Here is the call graph for this function:

TimedCSDFchannel * TimedCSDFchannel::createCopy ( CSDFcomponent c  )  const [virtual]

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

Reimplemented from CSDFchannel.

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

Referenced by clone().

Here is the call graph for this function:

CSDFbufferSize TimedCSDFchannel::getBufferSize (  )  const [inline]
double TimedCSDFchannel::getMinBandwidth (  )  const [inline]

References minBandwidth.

Referenced by createCopy(), createCSDFpropertiesNode(), and print().

CSDFtime TimedCSDFchannel::getMinLatency (  )  const [inline]

References minLatency.

Referenced by createCopy(), createCSDFpropertiesNode(), and print().

TimedCSDFchannel* TimedCSDFchannel::getStorageSpaceChannel (  )  const [inline]

References modelStorageSpaceCh.

Referenced by createCopy().

int TimedCSDFchannel::getTokenSize (  )  const [inline]
CString TimedCSDFchannel::getTokenType (  )  const [inline]

References tokenType.

Referenced by createCopy(), createCSDFpropertiesNode(), and print().

bool TimedCSDFchannel::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 TimedCSDFchannel::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 TimedCSDFchannel::isUnbounded (  )  const

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

References getBufferSize().

Here is the call graph for this function:

bool TimedCSDFchannel::modelsStorageSpace (  )  const [inline]

References modelStorageSpaceCh.

ostream & TimedCSDFchannel::print ( ostream &  out  ) 
void TimedCSDFchannel::setBufferSize ( const CSDFbufferSize  s  )  [inline]
void TimedCSDFchannel::setMinBandwidth ( const double  b  )  [inline]
void TimedCSDFchannel::setMinLatency ( const CSDFtime  t  )  [inline]
void TimedCSDFchannel::setStorageSpaceChannel ( TimedCSDFchannel c  )  [inline]

References modelStorageSpaceCh.

Referenced by createCopy().

void TimedCSDFchannel::setTokenSize ( const int  s  )  [inline]
void TimedCSDFchannel::setTokenType ( const CString type  )  [inline]

Friends And Related Function Documentation

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

Member Data Documentation

Referenced by getTokenSize(), and setTokenSize().


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