![]() |
VR-Forces 4.8 Class Documentation
|
A set of settings that will encompass all function groups and functions currently known. More...
Classes | |
| struct | GameControl |
Public Types | |
| typedef std::map< std::string, DtJoystickConfigurationSetting > | SettingsByFunctionCode |
| typedef std::map< std::string, SettingsByFunctionCode > | JoystickConfigurationSettings |
| typedef std::vector< GameControl > | GameControlInformation |
Public Member Functions | |
| DtJoystickConfigurationSettings () | |
| CTOR. More... | |
| DtJoystickConfigurationSettings (const DtJoystickConfigurationSettings &) | |
| ~DtJoystickConfigurationSettings () | |
| DTOR. More... | |
| DtUnicode | gameControllerName (const std::string &functionGroup, const std::string &function) const |
| Returns the name of the game controller that is used to control the particular function group and function. More... | |
| DtUnicode | gameControllerFunction (const std::string &functionGroup, const std::string &function) const |
| Returns the name of the game function descriptive text that is used to control the particular function group and function. More... | |
| const JoystickConfigurationSettings & | joystickConfigurationSettings () const |
| GameControlInformation | gameControlInformation (const std::string &fg) const |
| Will return only specified game control information for this function group. More... | |
| bool | addSwitchGroup (const std::string &) |
| Adds a new configuration for switch groups. Returns true if this switch group did not exist. More... | |
| bool | addOrUpdateJoystickControl (const std::string &functionGroup, const std::string &function) |
| Adds or updates the control. If either has happened return true. More... | |
| DtGameControlInformation | gameControlInformationFor (const std::string &functionGroup, const std::string &function) const |
| Returns game controller information for the given function group and function. More... | |
| bool | removeGameControlInformationFor (const std::string &functionGroup, const std::string &function) |
| Removes game controller information for the given configuration, function group and function. More... | |
| DtJoystickConfigurationSetting | addGameControlInformationFor (const std::string &functionGroup, const std::string &function, const DtGameControlInformation &) |
| bool | functionGroupSpecified (const std::string &functionGroup, bool all=false) const |
| Returns true if at least one function in the function group is specified. If all flag is true then all must be specified. More... | |
Protected Member Functions | |
| template<class Archive > | |
| void | serialize (Archive &ar, const unsigned int version) |
| When the class Archive corresponds to an output archive, the & operator is defined similar to <<. More... | |
Protected Attributes | |
| JoystickConfigurationSettings | myJoystickConfigurationSettings |
Friends | |
| class | boost::serialization::access |
A set of settings that will encompass all function groups and functions currently known.
| typedef std::map<std::string, DtJoystickConfigurationSetting> makVrv::DtJoystickConfigurationSettings::SettingsByFunctionCode |
| typedef std::map<std::string, SettingsByFunctionCode> makVrv::DtJoystickConfigurationSettings::JoystickConfigurationSettings |
| typedef std::vector<GameControl> makVrv::DtJoystickConfigurationSettings::GameControlInformation |
| makVrv::DtJoystickConfigurationSettings::DtJoystickConfigurationSettings | ( | ) |
CTOR.
| makVrv::DtJoystickConfigurationSettings::DtJoystickConfigurationSettings | ( | const DtJoystickConfigurationSettings & | ) |
| makVrv::DtJoystickConfigurationSettings::~DtJoystickConfigurationSettings | ( | ) |
DTOR.
| DtUnicode makVrv::DtJoystickConfigurationSettings::gameControllerName | ( | const std::string & | functionGroup, |
| const std::string & | function | ||
| ) | const |
Returns the name of the game controller that is used to control the particular function group and function.
| DtUnicode makVrv::DtJoystickConfigurationSettings::gameControllerFunction | ( | const std::string & | functionGroup, |
| const std::string & | function | ||
| ) | const |
Returns the name of the game function descriptive text that is used to control the particular function group and function.
|
inline |
| GameControlInformation makVrv::DtJoystickConfigurationSettings::gameControlInformation | ( | const std::string & | fg | ) | const |
Will return only specified game control information for this function group.
| bool makVrv::DtJoystickConfigurationSettings::addSwitchGroup | ( | const std::string & | ) |
Adds a new configuration for switch groups. Returns true if this switch group did not exist.
| bool makVrv::DtJoystickConfigurationSettings::addOrUpdateJoystickControl | ( | const std::string & | functionGroup, |
| const std::string & | function | ||
| ) |
Adds or updates the control. If either has happened return true.
| DtGameControlInformation makVrv::DtJoystickConfigurationSettings::gameControlInformationFor | ( | const std::string & | functionGroup, |
| const std::string & | function | ||
| ) | const |
Returns game controller information for the given function group and function.
| bool makVrv::DtJoystickConfigurationSettings::removeGameControlInformationFor | ( | const std::string & | functionGroup, |
| const std::string & | function | ||
| ) |
Removes game controller information for the given configuration, function group and function.
| DtJoystickConfigurationSetting makVrv::DtJoystickConfigurationSettings::addGameControlInformationFor | ( | const std::string & | functionGroup, |
| const std::string & | function, | ||
| const DtGameControlInformation & | |||
| ) |
| bool makVrv::DtJoystickConfigurationSettings::functionGroupSpecified | ( | const std::string & | functionGroup, |
| bool | all = false |
||
| ) | const |
Returns true if at least one function in the function group is specified. If all flag is true then all must be specified.
|
inlineprotected |
When the class Archive corresponds to an output archive, the & operator is defined similar to <<.
Likewise, when the class Archive is a type of input archive the & operator is defined similar to >>.
|
friend |
|
protected |