![]() |
An open-source, flexible 3D physical simulation framework
|
#include <CFGParamBool.h>
Public Types | |
enum | paramProperty { value = 0, dstNrOfParamPropertys } |
Public Member Functions | |
CFGParamBool (const cfgParamId &_id, const std::string &_group, const std::string &_name) | |
~CFGParamBool () | |
virtual bool | setProperty (const CFGProperty &_property) |
virtual const std::string & | getPropertyNameByIndex (unsigned int _index) const |
virtual const cfgPropertyType & | getPropertyTypeByIndex (unsigned int _index) const |
virtual unsigned int | getPropertyIndexByName (const std::string &_name) const |
virtual unsigned int | getNrOfPropertys () const |
![]() | |
CFGParam (const cfgParamId &_id, const std::string &_group, const std::string &_name, const cfgParamType &_type) | |
~CFGParam () | |
const cfgParamType & | getParamType () const |
const cfgParamId & | getId () const |
const std::string & | getGroup () const |
const std::string & | getName () const |
virtual bool | getProperty (CFGProperty *property) const |
virtual unsigned char | getOption () const |
virtual void | setOption (const unsigned char _newOption) |
virtual void | unsetOption (const unsigned char _newOption) |
void | addClient (CFGClient *client) |
void | removeClient (CFGClient *client) |
void | writeToYAML (YAML::Emitter &out) const |
Static Public Member Functions | |
static CFGParam * | createParam (const cfgParamId &_id, const std::string &_group, const YAML::Node &node) |
Static Public Attributes | |
static const std::string | paramPropertyName [dstNrOfParamPropertys] |
static const cfgPropertyType | paramPropertyType [dstNrOfParamPropertys] |
Private Member Functions | |
bool | setPropertyValue (const CFGProperty &_property) const |
Additional Inherited Members | |
![]() | |
void | updateClients (const CFGProperty &property) |
void | readFromYAML (const YAML::Node &node) |
void | readPropertyFromYAML (unsigned int index, const YAML::Node &node) const |
void | readSaveSettingFromYAML (const YAML::Node &node) |
bool | writeProperty (const CFGProperty &property) const |
![]() | |
std::vector< CFGProperty * > | propertys |
utils::Mutex | mutexPropertys |
unsigned char | options |
const std::string | emptyString |
const cfgPropertyType | noType |
Definition at line 41 of file CFGParamBool.h.
Enumerator | |
---|---|
value | |
dstNrOfParamPropertys |
Definition at line 44 of file CFGParamBool.h.
mars::cfg_manager::CFGParamBool::CFGParamBool | ( | const cfgParamId & | _id, |
const std::string & | _group, | ||
const std::string & | _name | ||
) |
Definition at line 48 of file CFGParamBool.cpp.
mars::cfg_manager::CFGParamBool::~CFGParamBool | ( | ) |
Definition at line 66 of file CFGParamBool.cpp.
|
static |
Definition at line 100 of file CFGParamBool.cpp.
|
virtual |
Implements mars::cfg_manager::CFGParam.
Definition at line 155 of file CFGParamBool.cpp.
|
virtual |
Implements mars::cfg_manager::CFGParam.
Definition at line 144 of file CFGParamBool.cpp.
|
virtual |
Implements mars::cfg_manager::CFGParam.
Definition at line 126 of file CFGParamBool.cpp.
|
virtual |
Implements mars::cfg_manager::CFGParam.
Definition at line 135 of file CFGParamBool.cpp.
|
virtual |
Implements mars::cfg_manager::CFGParam.
Definition at line 81 of file CFGParamBool.cpp.
|
private |
Definition at line 162 of file CFGParamBool.cpp.
|
static |
Definition at line 49 of file CFGParamBool.h.
|
static |
Definition at line 50 of file CFGParamBool.h.