|
Classes |
class | CommonOptions |
class | OptionListener |
class | GenericOption |
| Generic option. More...
|
class | DecimalOption |
| Decimal option. More...
|
class | PositionOption |
| Position option. More...
|
class | Position3DOption |
| Position3D option. More...
|
class | PoseOption |
| Pose option. More...
|
class | Pose3DOption |
| Pose3D option. More...
|
class | DecimalArrayOption |
| A vector of Decimal option. More...
|
class | IntOption |
| Integer option. More...
|
class | StringOption |
| Integer option. More...
|
class | BoolOption |
| Integer option. More...
|
class | GlobalOptionsListener |
class | Options |
class | OptionWidget |
| Option widget. More...
|
class | IntSpinBox |
| Int spin Box. More...
|
class | DecimalSpinBox |
| Decimal spin Box. More...
|
class | NameWidget |
| Name widget. More...
|
class | IntWidget |
| Int widget. More...
|
class | DecimalWidget |
| Decimal widget. More...
|
class | PositionWidget |
| Position widget. More...
|
class | Position3DWidget |
| Position3D widget. More...
|
class | PoseWidget |
| Pose widget. More...
|
class | StringWidget |
| String widget. More...
|
class | BoolWidget |
| String widget. More...
|
Defines |
#define | OPTION_TS_SETVALUE_FUNCTION(TypeOption, ValType) |
#define | OPTION_GETTYPE_FUNCTION(TypeOption) |
#define | OPTION_NOTIFYOPTIONSLISTENER_FUNCTION(Type) |
#define | OPTION_TS_GETVALUE_FUNCTION(TypeOption, ValType) |
#define | OPTION_CONSTUCTOR(TypeOption, ValType) |
#define | OPTION_COPYCONSTUCTOR(TypeOption) |
#define | OPTION_ASSIGNOP(TypeOption) |
#define | OPTION_PRINT_FUNCTION(TypeOption) |
#define | OPTION_PRINT_VALUEPRINT_FUNCTION(TypeOption) |
#define | OPTION_PRINTVALUE_FUNCTION(TypeOption) |
#define | OPTION_PRINTVALUE_VALUEPRINT_FUNCTION(TypeOption) |
#define | OPTION_NOTIFYGLOBALOPTIONSLISTENER_CREATED_FUNCTION(Type) |
#define | OPTION_NOTIFYGLOBALOPTIONSLISTENER_DELETED_FUNCTION(Type) |
#define | DEBUG_OPTION_WIDG 0 |
Typedefs |
typedef set< OptionListener * > | OptionListenerSet |
typedef set< Options * > | GlobalOptionsSet |
typedef set
< GlobalOptionsListener * > | GlobalOptionsListenerSet |
typedef set< DecimalOption * > | DecimalOptionSet |
typedef set< PositionOption * > | PositionOptionSet |
typedef set< Position3DOption * > | Position3DOptionSet |
typedef set< PoseOption * > | PoseOptionSet |
typedef set< Pose3DOption * > | Pose3DOptionSet |
typedef set< DecimalArrayOption * > | DecimalArrayOptionSet |
typedef set< IntOption * > | IntOptionSet |
typedef set< StringOption * > | StringOptionSet |
typedef set< BoolOption * > | BoolOptionSet |
typedef map< string,
GenericOption * > | GenericOptionNameMap |
typedef set< GenericOption * > | GenericOptionSet |
Enumerations |
enum | OptionGroupsType {
OPT_GRP_COMM,
OPT_GRP_RESO,
OPT_GRP_TASK,
OPT_GRP_ALGO,
OPT_GRP_OTHE,
NUM_OPT_GRP
} |
enum | OptionValueType {
OVT_UNDEF,
OVT_DECIMAL,
OVT_POSITION,
OVT_POSITION3D,
OVT_POSE,
OVT_POSE3D,
OVT_ARRAY_DECIMAL,
OVT_STRING,
OVT_INT,
OVT_BOOL,
NUM_OVT
} |
enum | ScenarioType { KHEPERA_SCEN,
WEBOTS_SCEN,
PLAYER_SCEN,
SCENARIO_NUMS
} |
Functions |
| OPTION_TS_SETVALUE_FUNCTION (DecimalOption, Decimal) |
| OPTION_TS_SETVALUE_FUNCTION (PositionOption, Position) |
| OPTION_TS_SETVALUE_FUNCTION (Position3DOption, Position3D) |
| OPTION_TS_SETVALUE_FUNCTION (PoseOption, Pose) |
| OPTION_TS_SETVALUE_FUNCTION (Pose3DOption, Pose3D) |
| OPTION_TS_SETVALUE_FUNCTION (DecimalArrayOption, string) |
| OPTION_TS_SETVALUE_FUNCTION (StringOption, string) |
| OPTION_TS_SETVALUE_FUNCTION (IntOption, int) |
| OPTION_TS_SETVALUE_FUNCTION (BoolOption, bool) |
| OPTION_GETTYPE_FUNCTION (DecimalOption) |
| OPTION_GETTYPE_FUNCTION (PositionOption) |
| OPTION_GETTYPE_FUNCTION (Position3DOption) |
| OPTION_GETTYPE_FUNCTION (PoseOption) |
| OPTION_GETTYPE_FUNCTION (Pose3DOption) |
| OPTION_GETTYPE_FUNCTION (DecimalArrayOption) |
| OPTION_GETTYPE_FUNCTION (StringOption) |
| OPTION_GETTYPE_FUNCTION (IntOption) |
| OPTION_GETTYPE_FUNCTION (BoolOption) |
| OPTION_NOTIFYOPTIONSLISTENER_FUNCTION (DecimalOption) |
| OPTION_NOTIFYOPTIONSLISTENER_FUNCTION (PositionOption) |
| OPTION_NOTIFYOPTIONSLISTENER_FUNCTION (Position3DOption) |
| OPTION_NOTIFYOPTIONSLISTENER_FUNCTION (PoseOption) |
| OPTION_NOTIFYOPTIONSLISTENER_FUNCTION (Pose3DOption) |
| OPTION_NOTIFYOPTIONSLISTENER_FUNCTION (DecimalArrayOption) |
| OPTION_NOTIFYOPTIONSLISTENER_FUNCTION (StringOption) |
| OPTION_NOTIFYOPTIONSLISTENER_FUNCTION (IntOption) |
| OPTION_NOTIFYOPTIONSLISTENER_FUNCTION (BoolOption) |
| OPTION_TS_GETVALUE_FUNCTION (DecimalOption, Decimal) |
| OPTION_TS_GETVALUE_FUNCTION (PositionOption, Position) |
| OPTION_TS_GETVALUE_FUNCTION (Position3DOption, Position3D) |
| OPTION_TS_GETVALUE_FUNCTION (PoseOption, Pose) |
| OPTION_TS_GETVALUE_FUNCTION (Pose3DOption, Pose3D) |
| OPTION_TS_GETVALUE_FUNCTION (DecimalArrayOption, string) |
| OPTION_TS_GETVALUE_FUNCTION (StringOption, string) |
| OPTION_TS_GETVALUE_FUNCTION (IntOption, int) |
| OPTION_TS_GETVALUE_FUNCTION (BoolOption, bool) |
| OPTION_CONSTUCTOR (DecimalOption, Decimal) |
| OPTION_CONSTUCTOR (PositionOption, Position) |
| OPTION_CONSTUCTOR (Position3DOption, Position3D) |
| OPTION_CONSTUCTOR (PoseOption, Pose) |
| OPTION_CONSTUCTOR (Pose3DOption, Pose3D) |
| OPTION_CONSTUCTOR (DecimalArrayOption, string) |
| OPTION_CONSTUCTOR (StringOption, string) |
| OPTION_CONSTUCTOR (IntOption, int) |
| OPTION_CONSTUCTOR (BoolOption, bool) |
| OPTION_COPYCONSTUCTOR (DecimalOption) |
| OPTION_COPYCONSTUCTOR (PositionOption) |
| OPTION_COPYCONSTUCTOR (Position3DOption) |
| OPTION_COPYCONSTUCTOR (PoseOption) |
| OPTION_COPYCONSTUCTOR (Pose3DOption) |
| OPTION_COPYCONSTUCTOR (DecimalArrayOption) |
| OPTION_COPYCONSTUCTOR (StringOption) |
| OPTION_COPYCONSTUCTOR (IntOption) |
| OPTION_COPYCONSTUCTOR (BoolOption) |
| OPTION_ASSIGNOP (DecimalOption) |
| OPTION_ASSIGNOP (PositionOption) |
| OPTION_ASSIGNOP (Position3DOption) |
| OPTION_ASSIGNOP (PoseOption) |
| OPTION_ASSIGNOP (Pose3DOption) |
| OPTION_ASSIGNOP (DecimalArrayOption) |
| OPTION_ASSIGNOP (StringOption) |
| OPTION_ASSIGNOP (IntOption) |
| OPTION_ASSIGNOP (BoolOption) |
| OPTION_PRINT_FUNCTION (DecimalOption) |
| OPTION_PRINT_VALUEPRINT_FUNCTION (PositionOption) |
| OPTION_PRINT_VALUEPRINT_FUNCTION (Position3DOption) |
| OPTION_PRINT_VALUEPRINT_FUNCTION (PoseOption) |
| OPTION_PRINT_VALUEPRINT_FUNCTION (Pose3DOption) |
| OPTION_PRINT_FUNCTION (DecimalArrayOption) |
| OPTION_PRINT_FUNCTION (StringOption) |
| OPTION_PRINT_FUNCTION (IntOption) |
| OPTION_PRINT_FUNCTION (BoolOption) |
| OPTION_PRINTVALUE_FUNCTION (DecimalOption) |
| OPTION_PRINTVALUE_VALUEPRINT_FUNCTION (PositionOption) |
| OPTION_PRINTVALUE_VALUEPRINT_FUNCTION (Position3DOption) |
| OPTION_PRINTVALUE_VALUEPRINT_FUNCTION (PoseOption) |
| OPTION_PRINTVALUE_VALUEPRINT_FUNCTION (Pose3DOption) |
| OPTION_PRINTVALUE_FUNCTION (DecimalArrayOption) |
| OPTION_PRINTVALUE_FUNCTION (StringOption) |
| OPTION_PRINTVALUE_FUNCTION (IntOption) |
| OPTION_PRINTVALUE_FUNCTION (BoolOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_CREATED_FUNCTION (DecimalOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_CREATED_FUNCTION (PositionOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_CREATED_FUNCTION (Position3DOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_CREATED_FUNCTION (PoseOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_CREATED_FUNCTION (Pose3DOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_CREATED_FUNCTION (StringOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_CREATED_FUNCTION (DecimalArrayOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_CREATED_FUNCTION (IntOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_CREATED_FUNCTION (BoolOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_DELETED_FUNCTION (DecimalOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_DELETED_FUNCTION (PositionOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_DELETED_FUNCTION (Position3DOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_DELETED_FUNCTION (PoseOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_DELETED_FUNCTION (Pose3DOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_DELETED_FUNCTION (DecimalArrayOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_DELETED_FUNCTION (StringOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_DELETED_FUNCTION (IntOption) |
| OPTION_NOTIFYGLOBALOPTIONSLISTENER_DELETED_FUNCTION (BoolOption) |
virtual void | OptionListener::optionChanged (DecimalOption *option) |
virtual void | OptionListener::optionChanged (PositionOption *option) |
virtual void | OptionListener::optionChanged (Position3DOption *option) |
virtual void | OptionListener::optionChanged (PoseOption *option) |
virtual void | OptionListener::optionChanged (DecimalArrayOption *option) |
virtual void | OptionListener::optionChanged (Pose3DOption *option) |
virtual void | OptionListener::optionChanged (StringOption *option) |
virtual void | OptionListener::optionChanged (IntOption *option) |
virtual void | OptionListener::optionChanged (BoolOption *option) |
virtual void | GenericOption::notifyOptionListeners ()=0 |
| GenericOption::GenericOption (const string &name, const string &description, Options *optionsContainer) |
| Constructor.
|
virtual string | GenericOption::getObjectName () const |
| Get name.
|
string | GenericOption::getName () const |
| Get name.
|
string | GenericOption::getDescription () const |
| Get description.
|
virtual OptionValueType | GenericOption::getType () const =0 |
virtual void | GenericOption::setValue (const string &s)=0 |
virtual string | GenericOption::print () const =0 |
virtual string | GenericOption::printValue () const =0 |
void | GenericOption::registerOptionListener (OptionListener *optionListener) |
void | GenericOption::unRegisterOptionListener (OptionListener *optionListener) |
const Options & | GenericOption::getContainer () |
DecimalOption & | DecimalOption::operator= (const DecimalOption &rhs) |
| Assigment operator.
|
OptionValueType | DecimalOption::getType () const |
| Get type.
|
virtual string | DecimalOption::getObjectName () const |
| Get ObjectName.
|
void | DecimalOption::setValue (const string &s) |
| Set value.
|
void | DecimalOption::setValue (const Decimal &v) |
Decimal | DecimalOption::getValue () const |
| Get value.
|
string | DecimalOption::print () const |
| Print.
|
string | DecimalOption::printValue () const |
| PrintValue.
|
PositionOption & | PositionOption::operator= (const PositionOption &rhs) |
| Assigment operator.
|
OptionValueType | PositionOption::getType () const |
| Get type.
|
virtual string | PositionOption::getObjectName () const |
| Get ObjectName.
|
void | PositionOption::setValue (const string &s) |
| Set value.
|
void | PositionOption::setValue (const Position &v) |
Position | PositionOption::getValue () const |
| Get value.
|
string | PositionOption::print () const |
| Print.
|
string | PositionOption::printValue () const |
| PrintValue.
|
Position3DOption & | Position3DOption::operator= (const Position3DOption &rhs) |
| Assigment operator.
|
OptionValueType | Position3DOption::getType () const |
| Get type.
|
virtual string | Position3DOption::getObjectName () const |
| Get ObjectName.
|
void | Position3DOption::setValue (const string &s) |
| Set value.
|
void | Position3DOption::setValue (const Position3D &v) |
Position3D | Position3DOption::getValue () const |
| Get value.
|
string | Position3DOption::print () const |
| Print.
|
string | Position3DOption::printValue () const |
| PrintValue.
|
PoseOption & | PoseOption::operator= (const PoseOption &rhs) |
| Assigment operator.
|
OptionValueType | PoseOption::getType () const |
| Get type.
|
virtual string | PoseOption::getObjectName () const |
| Get ObjectName.
|
void | PoseOption::setValue (const string &s) |
| Set value.
|
void | PoseOption::setValue (const Pose &v) |
Pose | PoseOption::getValue () const |
| Get value.
|
string | PoseOption::print () const |
| Print.
|
string | PoseOption::printValue () const |
| PrintValue.
|
Pose3DOption & | Pose3DOption::operator= (const Pose3DOption &rhs) |
| Assigment operator.
|
OptionValueType | Pose3DOption::getType () const |
| Get type.
|
virtual string | Pose3DOption::getObjectName () const |
| Get ObjectName.
|
void | Pose3DOption::setValue (const string &s) |
| Set value.
|
void | Pose3DOption::setValue (const Pose3D &v) |
Pose3D | Pose3DOption::getValue () const |
| Get value.
|
string | Pose3DOption::print () const |
| Print.
|
string | Pose3DOption::printValue () const |
| PrintValue.
|
DecimalArrayOption & | DecimalArrayOption::operator= (const DecimalArrayOption &rhs) |
| Assigment operator.
|
OptionValueType | DecimalArrayOption::getType () const |
| Get type.
|
virtual string | DecimalArrayOption::getObjectName () const |
| Get ObjectName.
|
void | DecimalArrayOption::setValue (const string &s) |
| Set value.
|
void | DecimalArrayOption::setValue (const vector< Decimal > &v) |
string | DecimalArrayOption::getValue () const |
| Get value.
|
bool | DecimalArrayOption::fromString () |
| It computes the parsing of the string.
|
vector< Decimal > | DecimalArrayOption::getValueVec () |
| Get value.
|
string | DecimalArrayOption::print () const |
| Print.
|
string | DecimalArrayOption::printValue () const |
| PrintValue.
|
IntOption & | IntOption::operator= (const IntOption &rhs) |
| Assigment operator.
|
OptionValueType | IntOption::getType () const |
| Get type.
|
virtual string | IntOption::getObjectName () const |
| Get ObjectName.
|
void | IntOption::setValue (const string &s) |
| Set value..
|
void | IntOption::setValue (const int &v) |
int | IntOption::getValue () const |
| Get value.
|
string | IntOption::print () const |
| Print.
|
string | IntOption::printValue () const |
| PrintValue.
|
StringOption & | StringOption::operator= (const StringOption &rhs) |
| Assigment operator.
|
OptionValueType | StringOption::getType () const |
| Get type.
|
virtual string | StringOption::getObjectName () const |
| Get ObjectName.
|
void | StringOption::setValue (const string &v) |
| Set value.
|
string | StringOption::getValue () const |
| Get value.
|
string | StringOption::print () const |
| Print.
|
string | StringOption::printValue () const |
| PrintValue.
|
BoolOption & | BoolOption::operator= (const BoolOption &rhs) |
| Assigment operator.
|
OptionValueType | BoolOption::getType () const |
| Get type.
|
virtual string | BoolOption::getObjectName () const |
| Get ObjectName.
|
void | BoolOption::setValue (const string &s) |
| Set value.
|
void | BoolOption::setValue (const bool &v) |
bool | BoolOption::getValue () const |
| Get value.
|
string | BoolOption::print () const |
| Print.
|
string | BoolOption::printValue () const |
| PrintValue.
|
virtual void | GlobalOptionsListener::optionWasCreated (DecimalOption *option) |
virtual void | GlobalOptionsListener::optionWasCreated (PositionOption *option) |
virtual void | GlobalOptionsListener::optionWasCreated (Position3DOption *option) |
virtual void | GlobalOptionsListener::optionWasCreated (PoseOption *option) |
virtual void | GlobalOptionsListener::optionWasCreated (Pose3DOption *option) |
virtual void | GlobalOptionsListener::optionWasCreated (DecimalArrayOption *option) |
virtual void | GlobalOptionsListener::optionWasCreated (StringOption *option) |
virtual void | GlobalOptionsListener::optionWasCreated (IntOption *option) |
virtual void | GlobalOptionsListener::optionWasCreated (BoolOption *option) |
virtual void | GlobalOptionsListener::optionWillBeDeleted (GenericOption *option) |
virtual void | GlobalOptionsListener::optionWillBeDeleted (DecimalOption *option) |
virtual void | GlobalOptionsListener::optionWillBeDeleted (PositionOption *option) |
virtual void | GlobalOptionsListener::optionWillBeDeleted (Position3DOption *option) |
virtual void | GlobalOptionsListener::optionWillBeDeleted (PoseOption *option) |
virtual void | GlobalOptionsListener::optionWillBeDeleted (Pose3DOption *option) |
virtual void | GlobalOptionsListener::optionWillBeDeleted (DecimalArrayOption *option) |
virtual void | GlobalOptionsListener::optionWillBeDeleted (StringOption *option) |
virtual void | GlobalOptionsListener::optionWillBeDeleted (IntOption *option) |
virtual void | GlobalOptionsListener::optionWillBeDeleted (BoolOption *option) |
| Options::Options () |
| Constructor Options.
|
virtual | Options::~Options () |
| Destructor Options.
|
virtual string | Options::getObjectName () const =0 |
| Gets the Name of the Options.
|
virtual OptionGroupsType | Options::getGroup () |
string | Options::toString () const |
void | Options::print () const |
GenericOption * | Options::getOptionWithName (const string &name) |
bool | Options::hasOptionWithName (const string &name) |
DecimalOption * | Options::createDecimalOption (const string &name, const string &description, const Decimal &value, bool updateMandatory=false) |
PositionOption * | Options::createPositionOption (const string &name, const string &description, const Position &value, bool updateMandatory=false) |
Position3DOption * | Options::createPosition3DOption (const string &name, const string &description, const Position3D &value, bool updateMandatory=false) |
PoseOption * | Options::createPoseOption (const string &name, const string &description, const Pose &value, bool updateMandatory=false) |
Pose3DOption * | Options::createPose3DOption (const string &name, const string &description, const Pose3D &value, bool updateMandatory=false) |
DecimalArrayOption * | Options::createDecimalArrayOption (const string &name, const string &description, const string &value, bool updateMandatory=false) |
IntOption * | Options::createIntOption (const string &name, const string &description, int value, bool updateMandatory=false) |
StringOption * | Options::createStringOption (const string &name, const string &description, const string &value, bool updateMandatory=false) |
BoolOption * | Options::createBoolOption (const string &name, const string &description, bool value, bool updateMandatory=false) |
bool | Options::removeOption (GenericOption *genericOption) |
bool | Options::removeDecimalOption (DecimalOption *decimalOption) |
bool | Options::removePositionOption (PositionOption *positionOption) |
bool | Options::removePosition3DOption (Position3DOption *position3DOption) |
bool | Options::removePoseOption (PoseOption *poseOption) |
bool | Options::removePose3DOption (Pose3DOption *poseOption) |
bool | Options::removeDecimalArrayOption (DecimalArrayOption *DecimalArrayOption) |
bool | Options::removeIntOption (IntOption *intOption) |
bool | Options::removeStringOption (StringOption *stringOption) |
bool | Options::removeBoolOption (BoolOption *boolOption) |
void | Options::updateValues (bool checkForUpdateMandatroy=true) |
void | Options::updateValue (const string &name, const string &value) |
static const GlobalOptionsSet & | Options::getGlobalOptionsSet () |
static GenericOption * | Options::globalGetOptionWithName (const string &name) |
static void | Options::registerGlobalOptionsListener (GlobalOptionsListener *globalOptionsListener) |
static void | Options::unRegisterGlobalOptionsListener (GlobalOptionsListener *globalOptionsListener) |
Variables |
CommonOptions * | commonOptions |
static const char * | OptionGroupsNames [NUM_OPT_GRP] |
static const char * | OVTNames [NUM_OVT] |
static const char * | scenarioNames [SCENARIO_NUMS] |
string | GenericOption::_description |
OptionListenerSet | GenericOption::_optionsListenerSet |
pthread_mutex_t | GenericOption::_valueMutex |
Options * | GenericOption::_optionsContainer |
Friends |
class | DecimalOption::Options |
class | PositionOption::Options |
class | Position3DOption::Options |
class | PoseOption::Options |
class | Pose3DOption::Options |
class | DecimalArrayOption::Options |
class | IntOption::Options |
class | StringOption::Options |
class | BoolOption::Options |