FSMSADF::Processor Class Reference
#include <processor.h>
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().
void Processor::constructFromXML | ( | const CNodePtr | processorNode | ) |
constructFromXML() Load all properties of this processor from the supplied XML node.
References CGetAttribute(), CGetChildNode(), CHasAttribute(), CHasChildNode(), getArbitrationType(), setArbitrationType(), setContextSwitchOverhead(), FSMSADF::GraphComponent::setName(), setSupportForPreemption(), setType(), and setWheelsize().
Referenced by FSMSADF::Tile::constructFromXML().
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().
Processor * Processor::create | ( | GraphComponent | c | ) | const |
create() The function returns a new processor object.
References Processor().
Referenced by createCopy().
Processor * Processor::createCopy | ( | GraphComponent | c | ) | const |
createCopy() The function returns a new processor object and copies all properties.
References create(), getArbitrationType(), getContextSwitchOverhead(), FSMSADF::GraphComponent::getName(), getType(), getWheelsize(), hasSupportForPreemption(), setArbitrationType(), setContextSwitchOverhead(), FSMSADF::GraphComponent::setName(), setSupportForPreemption(), setType(), and setWheelsize().
Referenced by clone().
CString FSMSADF::Processor::getArbitrationType | ( | ) | const [inline] |
References arbitrationType.
Referenced by constructFromXML(), convertToXML(), createCopy(), and FSMSADF::OutputHTML::printPlatformGraph().
Time FSMSADF::Processor::getContextSwitchOverhead | ( | ) | const [inline] |
References contextSwitchOverhead.
Referenced by convertToXML(), createCopy(), and FSMSADF::OutputHTML::printPlatformGraph().
Tile* FSMSADF::Processor::getTile | ( | ) | const [inline] |
CString FSMSADF::Processor::getType | ( | ) | const [inline] |
Time FSMSADF::Processor::getWheelsize | ( | ) | const [inline] |
References wheelsize.
Referenced by FSMSADF::GraphBinding::computeParetoQuantities(), convertToXML(), createCopy(), FSMSADF::BindingAwareGraph::createMappedChannelToConnectionNSoC(), FSMSADF::ProcessorBinding::getAvailableWheelsize(), FSMSADF::OutputHTML::printPlatformBinding(), and FSMSADF::OutputHTML::printPlatformGraph().
bool FSMSADF::Processor::hasSupportForPreemption | ( | ) | const [inline] |
References supportsPreemption.
Referenced by convertToXML(), createCopy(), and FSMSADF::OutputHTML::printPlatformGraph().
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
CString FSMSADF::Processor::arbitrationType [private] |
Referenced by getArbitrationType(), and setArbitrationType().
Referenced by getContextSwitchOverhead(), and setContextSwitchOverhead().
bool FSMSADF::Processor::supportsPreemption [private] |
Referenced by hasSupportForPreemption(), and setSupportForPreemption().
CString FSMSADF::Processor::type [private] |
Time FSMSADF::Processor::wheelsize [private] |
Referenced by getWheelsize(), and setWheelsize().
The documentation for this class was generated from the following files: