otsdaq  v2_00_00
ARTDAQAggregatorConfiguration.h
1 #ifndef _ots_ARTDAQAggregatorConfiguration_h_
2 #define _ots_ARTDAQAggregatorConfiguration_h_
3 
4 #include "otsdaq-core/ConfigurationDataFormats/FEInterfaceConfigurationBase.h"
5 #include <string>
6 
7 namespace ots
8 {
9 
10 class ARTDAQAggregatorConfiguration : public ConfigurationBase
11 {
12 
13 public:
14 
15  ARTDAQAggregatorConfiguration(void);
16  virtual ~ARTDAQAggregatorConfiguration(void);
17 
18  //Methods
19  void init(ConfigurationManager *configManager);
20 
21  //Getters
22  std::string getAggregatorID (unsigned int supervisorInstance) const;
23  bool getStatus (unsigned int supervisorInstance) const;
24  const std::string getConfigurationString(unsigned int supervisorInstance) const;
25 
26 private:
27  enum{SupervisorInstance,
28  AggregatorID,
29  Status,
30  ConfigurationString
31  };
32 
33 };
34 }
35 #endif