00001 // Copyright CERN 2012 - Developed in collaboration with GSI 00002 00003 #ifndef PARSERELEMENTDEFS_H_ 00004 #define PARSERELEMENTDEFS_H_ 00005 00006 #include <string> 00007 00008 namespace fesa 00009 { 00010 //All tags, used in the Instantiation-XML-file are stored here 00011 00012 const std::string EVENT_CONFIGURATION_ATTRIBUTE_TAG = "name"; 00013 const std::string EVENTS_MAPPING_ELEMENT_TAG = "events-mapping"; 00014 const std::string CLASSES_TAG = "classes"; 00015 const std::string DEVICE_ELEMENT_TAG = "device-instance"; 00016 const std::string DEVICE_ELEMENT_ATTRIBUTE_TAG = "name"; 00017 00018 const std::string GLOBAL_DEVICE_ELEMENT_TAG = "global-instance"; 00019 const std::string GLOBAL_DEVICE_ELEMENT_ATTRIBUTE_TAG = "name"; 00020 00021 const std::string DEVICE_CONFIGURATION_ELEMEMT_TAG = "configuration"; 00022 const std::string DEVICE_SETTING_ELEMEMT_TAG = "setting"; 00023 const std::string DEVICE_ACQUISITION_ELEMEMT_TAG = "acquisition"; 00024 const std::string GENERIC_TAG = "generic"; 00025 00026 const std::string DOMAIN_STORE_TAG = "domain-data"; 00027 const std::string DOMAIN_STORE_ATTRIBUTE_TAG = "name"; 00028 00029 const std::string DEVICE_RELATIONS_TAG = "deviceRelations"; 00030 const std::string EXTRA_MUX_TAG = "extraMux"; 00031 const std::string MUX_ROLLING_TAG = "rolling"; 00032 const std::string MUX_DEPTH_TAG = "depth"; 00033 00034 const std::string DIM_TAG = "dim"; 00035 const std::string DIM1_TAG = "dim1"; 00036 const std::string DIM2_TAG = "dim2"; 00037 const std::string VALUE_TAG = "value"; 00038 00039 const std::string EVENT_CONFIGURATION_REF_TAG = "event-configuration-ref"; 00040 const std::string EVENT_CONFIGURATION_REF_ATTRIBUTE_TAG = "name"; 00041 00042 const std::string TIMING_EVENT_SOURCE_TAG = "Timing"; 00043 const std::string TIMER_EVENT_SOURCE_TAG = "Timer"; 00044 const std::string ON_DAMAND_EVENT_SOURCE_TAG = "OnDemand"; 00045 const std::string ON_SUBSCRIPTION_EVENT_SOURCE_TAG = "OnSubscription"; 00046 const std::string CUSTOM_EVENT_SOURCE_TAG = "Custom"; 00047 00048 //Source-type-specific data-tags 00049 const std::string ON_SUBSCRIPTION_TAG_DEVICE = "device"; 00050 const std::string ON_SUBSCRIPTION_TAG_PROPERTY = "property"; 00051 const std::string ON_SUBSCRIPTION_TAG_CONTEXT = "context"; 00052 const std::string TIMER_TAG_PERIOD = "period"; 00053 const std::string TIMING_TAG_CONCRETE_NAME = "name"; 00054 00055 } //end namespace 00056 00057 00058 #endif /* PARSERELEMENTDEFS_H_ */