FSMSADF::Processor Class Reference

#include <processor.h>

Inheritance diagram for FSMSADF::Processor:
Collaboration diagram for FSMSADF::Processor:

List of all members.

Public Member Functions

 Processor (GraphComponent c)
 ~Processor ()
Processor * create (GraphComponent c) const
Processor * createCopy (GraphComponent c) const
Processor * clone (GraphComponent c) const
void constructFromXML (const CNodePtr processorNode)
void convertToXML (const CNodePtr processorNode)
CString getType () const
void setType (const CString &t)
CString getArbitrationType () const
void setArbitrationType (const CString &t)
Time getWheelsize () const
void setWheelsize (const Time sz)
Time getContextSwitchOverhead () const
void setContextSwitchOverhead (const Time sz)
bool hasSupportForPreemption () const
void setSupportForPreemption (const bool f)
Tile * getTile () const

Private Attributes

CString type
CString arbitrationType
Time wheelsize
Time contextSwitchOverhead
bool supportsPreemption

Detailed Description

Processor Container for processor.


Constructor & Destructor Documentation

Processor::Processor ( GraphComponent  c  ) 

Processor() Constructor.

Referenced by create().

Processor::~Processor (  ) 

~Processor() Destructor.


Member Function Documentation

Processor * Processor::clone ( GraphComponent  c  )  const

clone() The function returns a new processor object and copies all properties, but when the parent of the graph component c and this object are different, all pointers are relocated.

References createCopy().

Here is the call graph for this function:

void Processor::constructFromXML ( const CNodePtr  processorNode  ) 
void Processor::convertToXML ( const CNodePtr  processorNode  ) 

convertToXML() Add all properties of this processor to the supplied XML node.

References CAddAttribute(), CAddNode(), getArbitrationType(), getContextSwitchOverhead(), FSMSADF::GraphComponent::getName(), getType(), getWheelsize(), and hasSupportForPreemption().

Here is the call graph for this function:

Processor * Processor::create ( GraphComponent  c  )  const

create() The function returns a new processor object.

References Processor().

Referenced by createCopy().

Here is the call graph for this function:

Processor * Processor::createCopy ( GraphComponent  c  )  const
CString FSMSADF::Processor::getArbitrationType (  )  const [inline]
Time FSMSADF::Processor::getContextSwitchOverhead (  )  const [inline]
bool FSMSADF::Processor::hasSupportForPreemption (  )  const [inline]
void FSMSADF::Processor::setArbitrationType ( const CString &  t  )  [inline]

References arbitrationType.

Referenced by constructFromXML(), and createCopy().

void FSMSADF::Processor::setContextSwitchOverhead ( const Time  sz  )  [inline]

References contextSwitchOverhead.

Referenced by constructFromXML(), and createCopy().

void FSMSADF::Processor::setSupportForPreemption ( const bool  f  )  [inline]

References supportsPreemption.

Referenced by constructFromXML(), and createCopy().

void FSMSADF::Processor::setType ( const CString &  t  )  [inline]

References type.

Referenced by constructFromXML(), and createCopy().

void FSMSADF::Processor::setWheelsize ( const Time  sz  )  [inline]

References wheelsize.

Referenced by constructFromXML(), and createCopy().


Member Data Documentation

Referenced by getType(), and setType().


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