OnSubscriptionEventElement.h

Go to the documentation of this file.
00001 // Copyright CERN 2012 - Developed in collaboration with GSI
00002 #ifndef ONSUBSCRIPTIONEVENTELEMENT_H_
00003 #define ONSUBSCRIPTIONEVENTELEMENT_H_
00004 
00005 #include <fesa-core/Utilities/ParserElements/EventElement.h>
00006 #include <boost/shared_ptr.hpp>
00007 #include <string>
00008 
00009 namespace fesa
00010 {
00011 
00012 class EventConfigurationElement;
00013 class ElementXML;
00014 
00019 class OnSubscriptionEventElement: public EventElement
00020 {
00021         public:
00022 
00026                 OnSubscriptionEventElement(boost::shared_ptr<EventConfigurationElement> parent);
00027 
00028                 virtual ~OnSubscriptionEventElement();
00029 
00033                 void initialize(const std::string& xpath,ElementXML* eventElement);
00034 
00035                 const std::string& getSourceTypeSpecificData(const std::string& dataTag);
00036 
00037         private:
00038 
00039                 // The device to which the event is subscribed to
00040                 std::string subscribedDeviceName_;
00041 
00042                 // The property to which the event is subscribed to
00043                 std::string subscribedPropertyName_;
00044 
00045                 // The context, used for the subscription
00046                 std::string subscribedContextName_;
00047 };
00048 
00049 } //end namespace
00050 
00051 #endif /* ONSUBSCRIPTIONEVENTELEMENT_H_ */

Generated on 18 Jan 2013 for Fesa by  doxygen 1.6.1