AudioManager  7.6.6
Native Application Runtime Environment
CAmCommandLineSingleton.h
Go to the documentation of this file.
1 
25 #ifndef AUDIOMANAGERUTILITIES_INCLUDE_CAMCOMMANDLINESINGLETON_H_
26 #define AUDIOMANAGERUTILITIES_INCLUDE_CAMCOMMANDLINESINGLETON_H_
27 
28 #include "tclap/CmdLine.h"
29 
30 namespace am {
31 
33 public:
34  static TCLAP::CmdLine* instanciateOnce(const std::string& message,
35  const char delimiter = ' ',
36  const std::string& version = "none",
37  bool helpAndVersion = true);
38 
39  static TCLAP::CmdLine* instance();
40 
41  static void deleteInstance();
42 
43 private:
44 
46  virtual ~CAmCommandLineSingleton();
47 };
48 
49 } /* namespace am */
50 
51 #endif /* AUDIOMANAGERUTILITIES_INCLUDE_CAMCOMMANDLINESINGLETON_H_ */
A Common-API wrapper class, which loads the common-api runtime and instantiates all necessary objects...
static TCLAP::CmdLine * instance()
static TCLAP::CmdLine * instanciateOnce(const std::string &message, const char delimiter= ' ', const std::string &version="none", bool helpAndVersion=true)