#include <optionManager.h>
Inheritance diagram for optionManager:
Public Methods | |
optionManager () | |
Default constructor. | |
~optionManager () | |
default destructor. | |
void | setOption (int argc, char* argv[]) |
reads the input line C arguments and translate them into set options. More... | |
Static Public Methods | |
optionManager* | instance () |
Singleton: returns pointer to the class. | |
Protected Methods | |
virtual void | defineOption () |
define the options. More... | |
Static Private Attributes | |
optionManager* | m_instance = 0 |
Singleton: pointer to this class. |
OptionManager uses optionServer to store and set options to a collection of optionVI classes (see optionServer). OptionManager reads and sets options from a file (i.e centella.in).
setOption(int
, char*) allows to pass the C main()
arguments into the optionManager and handle them as convenient.
Definition at line 24 of file optionManager.h.
|
|
|
define the options.
The first argument of the main C arg is the name of the input file
Reimplemented from optionVI.
Definition at line 33 of file optionManager.cpp.
|
|
reads the input line C arguments and translate them into set options.
add itself to the optionManager. The messageManager is constructed later, therefore we can not include optionManager in the server of messageManager yet
Definition at line 24 of file optionManager.cpp.
|