00001 // Copyright CERN 2012 - Developed in collaboration with GSI 00002 #ifndef CUSTOMEVENTELEMENT_H_ 00003 #define CUSTOMEVENTELEMENT_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 CustomEventElement: public EventElement 00020 { 00021 public: 00022 00026 CustomEventElement(boost::shared_ptr<EventConfigurationElement> parent); 00027 00028 virtual ~CustomEventElement(); 00029 00033 void initialize(const std::string& xpath,ElementXML* eventElement); 00034 00035 const std::string& getSourceTypeSpecificData(const std::string& dataTag); 00036 }; 00037 00038 } //end namespace 00039 00040 #endif /* CUSTOMEVENTELEMENT_H_ */