Used to handle and store all Timer-Event-specific Information which comes from the Instantiation-File. More...
#include <TimerEventElement.h>
Public Member Functions | |
TimerEventElement (boost::shared_ptr< EventConfigurationElement > parent) | |
virtual | ~TimerEventElement () |
void | initialize (const std::string &xpath, ElementXML *eventElement) |
triggers the parsing of the xml-file-structures and initializes the class with all needed information | |
const std::string & | getSourceTypeSpecificData (const std::string &dataTag) |
Private Attributes | |
std::string | period_ |
period of the timer event (ms) |
Used to handle and store all Timer-Event-specific Information which comes from the Instantiation-File.
Definition at line 19 of file TimerEventElement.h.
fesa::TimerEventElement::TimerEventElement | ( | boost::shared_ptr< EventConfigurationElement > | parent | ) |
parent | the parent-element in the linked-tree |
Definition at line 10 of file TimerEventElement.cpp.
fesa::TimerEventElement::~TimerEventElement | ( | ) | [virtual] |
Definition at line 15 of file TimerEventElement.cpp.
const std::string & fesa::TimerEventElement::getSourceTypeSpecificData | ( | const std::string & | dataTag | ) | [virtual] |
Implements fesa::EventElement.
Definition at line 35 of file TimerEventElement.cpp.
References FesaErrorUnkonwDataToken, fesa::EventElement::getLogicalName(), period_, and fesa::TIMER_TAG_PERIOD.
void fesa::TimerEventElement::initialize | ( | const std::string & | xpath, | |
ElementXML * | eventElement | |||
) | [virtual] |
triggers the parsing of the xml-file-structures and initializes the class with all needed information
Implements fesa::EventElement.
Definition at line 20 of file TimerEventElement.cpp.
References fesa::ElementXML::attributeList_, fesa::EventElement::concreteEventName_, fesa::EventElement::eventSourceName_, fesa::EventElement::isInitialized_, period_, fesa::TIMER_EVENT_SOURCE_TAG, and fesa::TIMER_TAG_PERIOD.
std::string fesa::TimerEventElement::period_ [private] |
period of the timer event (ms)
Definition at line 42 of file TimerEventElement.h.
Referenced by getSourceTypeSpecificData(), and initialize().