#include <Option.h>
Public Member Functions | |
virtual string | getObjectName () const |
Get name. | |
string | getName () const |
Get name. | |
string | getDescription () const |
Get description. | |
virtual OptionValueType | getType () const =0 |
virtual void | setValue (const string &s)=0 |
virtual string | print () const =0 |
virtual string | printValue () const =0 |
void | registerOptionListener (OptionListener *optionListener) |
void | unRegisterOptionListener (OptionListener *optionListener) |
const Options & | getContainer () |
Protected Member Functions | |
virtual void | notifyOptionListeners ()=0 |
GenericOption (const string &name, const string &description, Options *optionsContainer) | |
Constructor. | |
Protected Attributes | |
string | _name |
string | _description |
OptionListenerSet | _optionsListenerSet |
pthread_mutex_t | _valueMutex |
Options * | _optionsContainer |
string GenericOption::_name [protected] |