otsdaq  v2_01_00
Configurable.h
1 #ifndef _ots_Configurable_h_
2 #define _ots_Configurable_h_
3 
4 #include "otsdaq-core/ConfigurationInterface/ConfigurationTree.h"
5 
6 namespace ots
7 {
8 
10 {
11 public:
12  Configurable(const ConfigurationTree& theXDAQContextConfigTree, const std::string& theConfigurationPath);
13  virtual ~Configurable();
14 
15  ConfigurationTree getSelfNode() const;
16  const ConfigurationManager* getConfigurationManager() const;
17 
18  const std::string& getContextUID() const;
19  const std::string& getApplicationUID() const;
20 
21  unsigned int getApplicationLID() const;
22  std::string getContextAddress() const;
23  unsigned int getContextPort() const;
24 
25 protected:
26  const ConfigurationTree theXDAQContextConfigTree_;
27  const std::string theConfigurationPath_;
28  const std::string theConfigurationRecordName_;
29 
30 };
31 }
32 
33 #endif