TimedCSDFactor Class Reference

#include <actor.h>

Inheritance diagram for TimedCSDFactor:
Collaboration diagram for TimedCSDFactor:

List of all members.

Classes

struct  _Processor

Public Types

typedef struct
TimedCSDFactor::_Processor 
Processor
typedef list< Processor * > Processors
typedef Processors::iterator ProcessorsIter
typedef Processors::const_iterator ProcessorsCIter

Public Member Functions

 TimedCSDFactor (CSDFcomponent &c)
 ~TimedCSDFactor ()
TimedCSDFactorcreate (CSDFcomponent &c) const
TimedCSDFactorcreateCopy (CSDFcomponent &c) const
TimedCSDFactorclone (CSDFcomponent &c) const
CSDFtimeSequencegetExecutionTime ()
CSize getStateSize ()
CSize getStateSize (const CString &proc)
ProcessorgetProcessor (const CString &proc)
ProcessoraddProcessor (const CString &proc)
void addProcessor (const Processor *p)
void removeProcessor (const CString &proc)
uint nrProcessors () const
ProcessorsIter processorsBegin ()
ProcessorsCIter processorsBegin () const
ProcessorsIter processorsEnd ()
ProcessorsCIter processorsEnd () const
CString getDefaultProcessor () const
void setDefaultProcessor (const CString &p)
ostream & print (ostream &out)

Private Attributes

Processors processors
CString defaultProcessor

Friends

ostream & operator<< (ostream &out, TimedCSDFactor &a)

Detailed Description

TimedCSDFactor Timed actor in CSDF graph


Member Typedef Documentation

typedef Processors::const_iterator TimedCSDFactor::ProcessorsCIter
typedef Processors::iterator TimedCSDFactor::ProcessorsIter

Constructor & Destructor Documentation

TimedCSDFactor::TimedCSDFactor ( CSDFcomponent c  ) 

TimedCSDFactor () Constructor.

Referenced by create(), and createCopy().

TimedCSDFactor::~TimedCSDFactor (  ) 

~TimedCSDFactor () Destructor.

References processorsBegin(), and processorsEnd().

Here is the call graph for this function:


Member Function Documentation

TimedCSDFactor::Processor * TimedCSDFactor::addProcessor ( const CString proc  ) 

addProcessor () Add a processor type to the list of processor types the actor can be mapped to. A reference to the properties container for the processor is returned.

References getProcessor(), processors, TimedCSDFactor::_Processor::stateSize, and TimedCSDFactor::_Processor::type.

Referenced by actorProperties(), addCSDFactorToGraph(), and createCopy().

Here is the call graph for this function:

void TimedCSDFactor::addProcessor ( const Processor p  ) 

addProcessor () Add a processor type to the list of processor types the actor can be mapped to. A reference to the properties container for the processor is returned.

References TimedCSDFactor::_Processor::execTime, getProcessor(), processors, TimedCSDFactor::_Processor::stateSize, and TimedCSDFactor::_Processor::type.

Here is the call graph for this function:

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

clone () The function returns a pointer to a newly allocated CSDF actor object. The properties of this actor are also assigned to the new actor. The ports are also cloned.

Reimplemented from CSDFactor.

References a, CSDFactor::addPort(), CSDFport::clone(), component, createCopy(), CSDFcomponent::CSDFcomponent(), CSDFactor::nrPorts(), CSDFactor::portsBegin(), and CSDFactor::portsEnd().

Here is the call graph for this function:

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

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

Reimplemented from CSDFactor.

References TimedCSDFactor().

Here is the call graph for this function:

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

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

Reimplemented from CSDFactor.

References a, addProcessor(), getDefaultProcessor(), CSDFcomponent::getName(), CSDFactor::getType(), processorsBegin(), processorsEnd(), setDefaultProcessor(), CSDFcomponent::setName(), CSDFactor::setType(), and TimedCSDFactor().

Referenced by clone().

Here is the call graph for this function:

CString TimedCSDFactor::getDefaultProcessor (  )  const [inline]

References defaultProcessor.

Referenced by createCopy(), and createCSDFpropertiesNode().

CSDFtimeSequence & TimedCSDFactor::getExecutionTime (  ) 

getExecutionTime () The function returns the sequence of execution times of the actor on the default processor.

References defaultProcessor, TimedCSDFactor::_Processor::execTime, processorsBegin(), processorsEnd(), and TimedCSDFactor::_Processor::type.

Referenced by computeGraphPeriod(), printDefinitions(), CSDFstateSpaceThroughputAnalysis::TransitionSystem::startActorFiring(), and CSDFstateSpaceBufferAnalysis::TransitionSystem::startActorFiring().

Here is the call graph for this function:

TimedCSDFactor::Processor * TimedCSDFactor::getProcessor ( const CString proc  ) 

getProcessor () Get properties of actor for specified processor type

References processorsBegin(), processorsEnd(), and TimedCSDFactor::_Processor::type.

Referenced by addProcessor().

Here is the call graph for this function:

CSize TimedCSDFactor::getStateSize (  ) 

getStateSize () The function returns the state size of the actor on the default processor.

References CSIZE_MAX, defaultProcessor, processorsBegin(), processorsEnd(), TimedCSDFactor::_Processor::stateSize, and TimedCSDFactor::_Processor::type.

Here is the call graph for this function:

CSize TimedCSDFactor::getStateSize ( const CString proc  ) 

getStateSize () The function returns the state size of the actor on the processor.

References processorsBegin(), processorsEnd(), TimedCSDFactor::_Processor::stateSize, and TimedCSDFactor::_Processor::type.

Here is the call graph for this function:

uint TimedCSDFactor::nrProcessors (  )  const [inline]

References processors.

ostream & TimedCSDFactor::print ( ostream &  out  ) 
ProcessorsCIter TimedCSDFactor::processorsBegin (  )  const [inline]

References processors.

ProcessorsCIter TimedCSDFactor::processorsEnd (  )  const [inline]

References processors.

void TimedCSDFactor::removeProcessor ( const CString proc  ) 

removeProcessor () Remove a processor type from the list of processor types the actor can be mapped to.

References processors, processorsBegin(), processorsEnd(), and TimedCSDFactor::_Processor::type.

Here is the call graph for this function:

void TimedCSDFactor::setDefaultProcessor ( const CString p  )  [inline]

Friends And Related Function Documentation

ostream& operator<< ( ostream &  out,
TimedCSDFactor a 
) [friend]

Member Data Documentation


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