OpenDaVINCI  4.16.0
CommandLineInterface.h
Go to the documentation of this file.
1 
20 #ifndef CONTEXT_BASE_COMMANDLINEINTERFACE_H_
21 #define CONTEXT_BASE_COMMANDLINEINTERFACE_H_
22 
23 #include <string>
24 
28 
29 namespace odcontext {
30  namespace base {
31 
32  using namespace std;
33 
38  private:
45 
51  CommandLineInterface& operator=(const CommandLineInterface&);
52 
53  public:
55 
56  virtual ~CommandLineInterface();
57 
65  bool parse(const int32_t &argc, char **argv);
66 
67  virtual const odcore::base::KeyValueConfiguration getConfiguration() const;
68 
69  virtual const string getMulticastGroup() const;
70 
71  virtual uint32_t getCID() const;
72 
73  virtual bool isVerbose() const;
74 
75  virtual bool isSupercomponent() const;
76 
77  private:
79  string m_multicastGroup;
80  uint32_t m_CID;
81  bool m_isVerbose;
82  bool m_isSupercomponent;
83  };
84 
85  }
86 } // odcontext::base
87 
88 #endif /*CONTEXT_BASE_COMMANDLINEINTERFACE_H_*/
Definition: RuntimeControlInterface.h:36
#define OPENDAVINCI_API
Definition: opendavinci.h:67
Definition: KeyValueConfiguration.h:58
Definition: CommandLineInterface.h:37