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