this class contains the real time data of the FESA class More...
#include <AbstractRTDeviceClass.h>
Public Types | |
typedef std::set< std::string > | RTActionNameCol |
typedef std::map< std::string, RTActionNameCol > | DerivedClassesRTActionCol |
typedef std::map< std::string, RTActionInfo * > | RTActionInfoCol |
Public Member Functions | |
AbstractRTDeviceClass (const std::string &name, const std::string &version) | |
constructor | |
AbstractRTDeviceClass () | |
virtual | ~AbstractRTDeviceClass () |
destructor | |
virtual AbstractRTActionFactory * | getRTActionFactory () |
virtual AbstractEventSourceFactory * | getEventSourceFactory () |
virtual void | initialize () |
Implementation of the pure virtual baseclass method. | |
virtual void | addDiagnosticSchedulingUnitInfo (std::vector< RTSchedulingUnitInfo * > &schedulingUnitInfo) |
Used to add diagnostic-events-mapping, hidden from the class-developer TODO: get rid of this, it is very error-pron, neiter transparent, nor flexible. | |
virtual void | addDiagnosticRTActionInfo (RTActionInfoCol &actionInfoCol) |
Used to add diagnostic-events-mapping, hidden from the class-developer TODO: get rid of this, it is very error-pron, neiter transparent, nor flexible. | |
virtual void | addDiagnosticEvents (ElementXML *xmlElementClass) |
Used to add diagnostic-events-mapping, hidden from the class-developer TODO: get rid of this, it is very error-pron, neiter transparent, nor flexible. | |
Protected Member Functions | |
virtual void | fillRTSchedulingUnitsInfo (std::vector< RTSchedulingUnitInfo * > &schedulingUnitInfo)=0 |
fill the scheduling info for the class | |
virtual void | fillRTActionInfo (RTActionInfoCol &actionInfo)=0 |
fill the actions information associated with this class | |
Protected Attributes | |
AbstractRTActionFactory * | rtActionFactory_ |
reference to the action factory | |
AbstractEventSourceFactory * | eventSourceFactory_ |
factory to create the event sources | |
Private Member Functions | |
ElementXML * | getOrCreateXMLElement (ElementXML *baseElement, std::string name) |
Used to add diagnostic-events-mapping, hidden from the class-developer TODO: get rid of this, it is very error-pron, neiter transparent, nor flexible. | |
void | addXMLAttribute (ElementXML *baseElement, std::string name, std::string value) |
Used to add diagnostic-events-mapping, hidden from the class-developer TODO: get rid of this, it is very error-pron, neiter transparent, nor flexible. | |
Friends | |
class | RTController |
this class contains the real time data of the FESA class
Definition at line 108 of file AbstractRTDeviceClass.h.
typedef std::map<std::string, RTActionNameCol> fesa::AbstractRTDeviceClass::DerivedClassesRTActionCol |
Definition at line 114 of file AbstractRTDeviceClass.h.
typedef std::map<std::string, RTActionInfo*> fesa::AbstractRTDeviceClass::RTActionInfoCol |
Definition at line 115 of file AbstractRTDeviceClass.h.
typedef std::set<std::string> fesa::AbstractRTDeviceClass::RTActionNameCol |
Definition at line 113 of file AbstractRTDeviceClass.h.
fesa::AbstractRTDeviceClass::AbstractRTDeviceClass | ( | const std::string & | name, | |
const std::string & | version | |||
) |
constructor
name | of the class |
Definition at line 14 of file AbstractRTDeviceClass.cpp.
References fesa::AbstractRTEquipment::getInstance(), and fesa::AbstractComponentEquipment::registerDeviceClass().
fesa::AbstractRTDeviceClass::AbstractRTDeviceClass | ( | ) |
Definition at line 22 of file AbstractRTDeviceClass.cpp.
fesa::AbstractRTDeviceClass::~AbstractRTDeviceClass | ( | ) | [virtual] |
destructor
Definition at line 29 of file AbstractRTDeviceClass.cpp.
References fesa::AbstractComponentEquipment::deregisterDeviceClass(), fesa::AbstractRTEquipment::getInstance(), and fesa::AbstractDeviceClass::name_.
void fesa::AbstractRTDeviceClass::addDiagnosticEvents | ( | ElementXML * | xmlElementClass | ) | [virtual] |
Used to add diagnostic-events-mapping, hidden from the class-developer TODO: get rid of this, it is very error-pron, neiter transparent, nor flexible.
Definition at line 104 of file AbstractRTDeviceClass.cpp.
References addXMLAttribute(), fesa::DIAG_EVENT_SOURCE_NAME, fesa::DiagnosticUtils::event, and getOrCreateXMLElement().
void fesa::AbstractRTDeviceClass::addDiagnosticRTActionInfo | ( | RTActionInfoCol & | actionInfoCol | ) | [virtual] |
Used to add diagnostic-events-mapping, hidden from the class-developer TODO: get rid of this, it is very error-pron, neiter transparent, nor flexible.
Definition at line 94 of file AbstractRTDeviceClass.cpp.
References fesa::RTActionInfo::className_, and fesa::AbstractDeviceClass::name_.
void fesa::AbstractRTDeviceClass::addDiagnosticSchedulingUnitInfo | ( | std::vector< RTSchedulingUnitInfo * > & | schedulingUnitInfo | ) | [virtual] |
Used to add diagnostic-events-mapping, hidden from the class-developer TODO: get rid of this, it is very error-pron, neiter transparent, nor flexible.
fill in the table with the information
Definition at line 77 of file AbstractRTDeviceClass.cpp.
References fesa::RTSchedulingUnitInfo::actionName_, fesa::RTSchedulingUnitInfo::className_, fesa::DIAGNOSTIC_LAYER, fesa::RTSchedulingUnitInfo::eventField_, fesa::RTSchedulingUnitInfo::eventName_, fesa::AbstractDeviceClass::name_, fesa::RTSchedulingUnitInfo::name_, and fesa::RTSchedulingUnitInfo::selectionCriterion_.
void fesa::AbstractRTDeviceClass::addXMLAttribute | ( | ElementXML * | baseElement, | |
std::string | name, | |||
std::string | value | |||
) | [private] |
Used to add diagnostic-events-mapping, hidden from the class-developer TODO: get rid of this, it is very error-pron, neiter transparent, nor flexible.
Definition at line 143 of file AbstractRTDeviceClass.cpp.
References fesa::ElementXML::attributeList_, fesa::AttributeXML::name_, and fesa::AttributeXML::value_.
Referenced by addDiagnosticEvents().
virtual void fesa::AbstractRTDeviceClass::fillRTActionInfo | ( | RTActionInfoCol & | actionInfo | ) | [protected, pure virtual] |
fill the actions information associated with this class
virtual void fesa::AbstractRTDeviceClass::fillRTSchedulingUnitsInfo | ( | std::vector< RTSchedulingUnitInfo * > & | schedulingUnitInfo | ) | [protected, pure virtual] |
fill the scheduling info for the class
AbstractEventSourceFactory * fesa::AbstractRTDeviceClass::getEventSourceFactory | ( | ) | [inline, virtual] |
Definition at line 213 of file AbstractRTDeviceClass.h.
References eventSourceFactory_.
Referenced by fesa::RTController::createRTActionConfig().
ElementXML * fesa::AbstractRTDeviceClass::getOrCreateXMLElement | ( | ElementXML * | baseElement, | |
std::string | name | |||
) | [private] |
Used to add diagnostic-events-mapping, hidden from the class-developer TODO: get rid of this, it is very error-pron, neiter transparent, nor flexible.
Definition at line 125 of file AbstractRTDeviceClass.cpp.
References fesa::ElementXML::childList_, and fesa::ElementXML::name_.
Referenced by addDiagnosticEvents().
AbstractRTActionFactory * fesa::AbstractRTDeviceClass::getRTActionFactory | ( | ) | [inline, virtual] |
Definition at line 209 of file AbstractRTDeviceClass.h.
References rtActionFactory_.
Referenced by fesa::RTController::createAction().
fesa::AbstractRTDeviceClass::initialize | ( | ) | [virtual] |
Implementation of the pure virtual baseclass method.
Implements fesa::AbstractDeviceClass.
Definition at line 54 of file AbstractRTDeviceClass.cpp.
References fesa::FieldSynchroManager::commitModifiedFieldSynchronization(), fesa::AbstractDeviceFactory::getAbstractDeviceCollection(), fesa::AbstractDeviceClass::getDeviceFactory(), fesa::AbstractDeviceFactory::getGlobalDevice(), fesa::FieldSynchroManager::getInstance(), fesa::AbstractDeviceClass::specificInit(), and fesa::DataStore::synchronizeSettingFields().
friend class RTController [friend] |
Definition at line 167 of file AbstractRTDeviceClass.h.
fesa::AbstractRTDeviceClass::eventSourceFactory_ [protected] |
factory to create the event sources
Definition at line 187 of file AbstractRTDeviceClass.h.
Referenced by getEventSourceFactory().
reference to the action factory
Definition at line 181 of file AbstractRTDeviceClass.h.
Referenced by getRTActionFactory().