Used to handle and store all OnSubscription-Event-specific Information which comes from the Instantiation-File. More...
#include <OnSubscriptionEventElement.h>
Public Member Functions | |
OnSubscriptionEventElement (boost::shared_ptr< EventConfigurationElement > parent) | |
virtual | ~OnSubscriptionEventElement () |
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 | subscribedDeviceName_ |
std::string | subscribedPropertyName_ |
std::string | subscribedContextName_ |
Used to handle and store all OnSubscription-Event-specific Information which comes from the Instantiation-File.
Definition at line 19 of file OnSubscriptionEventElement.h.
fesa::OnSubscriptionEventElement::OnSubscriptionEventElement | ( | boost::shared_ptr< EventConfigurationElement > | parent | ) |
parent | the parent-element in the linked-tree |
Definition at line 10 of file OnSubscriptionEventElement.cpp.
fesa::OnSubscriptionEventElement::~OnSubscriptionEventElement | ( | ) | [virtual] |
Definition at line 16 of file OnSubscriptionEventElement.cpp.
const std::string & fesa::OnSubscriptionEventElement::getSourceTypeSpecificData | ( | const std::string & | dataTag | ) | [virtual] |
Implements fesa::EventElement.
Definition at line 45 of file OnSubscriptionEventElement.cpp.
References FesaErrorUnkonwDataToken, fesa::EventElement::getLogicalName(), fesa::ON_SUBSCRIPTION_TAG_CONTEXT, fesa::ON_SUBSCRIPTION_TAG_DEVICE, fesa::ON_SUBSCRIPTION_TAG_PROPERTY, subscribedContextName_, subscribedDeviceName_, and subscribedPropertyName_.
void fesa::OnSubscriptionEventElement::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 21 of file OnSubscriptionEventElement.cpp.
References fesa::ElementXML::attributeList_, fesa::EventElement::concreteEventName_, fesa::EventElement::eventSourceName_, fesa::EventElement::isInitialized_, fesa::ON_SUBSCRIPTION_EVENT_SOURCE_TAG, fesa::ON_SUBSCRIPTION_TAG_CONTEXT, fesa::ON_SUBSCRIPTION_TAG_DEVICE, fesa::ON_SUBSCRIPTION_TAG_PROPERTY, subscribedContextName_, subscribedDeviceName_, and subscribedPropertyName_.
std::string fesa::OnSubscriptionEventElement::subscribedContextName_ [private] |
Definition at line 46 of file OnSubscriptionEventElement.h.
Referenced by getSourceTypeSpecificData(), and initialize().
std::string fesa::OnSubscriptionEventElement::subscribedDeviceName_ [private] |
Definition at line 40 of file OnSubscriptionEventElement.h.
Referenced by getSourceTypeSpecificData(), and initialize().
std::string fesa::OnSubscriptionEventElement::subscribedPropertyName_ [private] |
Definition at line 43 of file OnSubscriptionEventElement.h.
Referenced by getSourceTypeSpecificData(), and initialize().