The DtGameControllerFunctionGroups contains a list of all function groups, functions and their values that can be assigned in the system.
| makVrv::DtGameControllerFunctionGroups::DtGameControllerFunctionGroups |
( |
| ) |
|
| virtual makVrv::DtGameControllerFunctionGroups::~DtGameControllerFunctionGroups |
( |
| ) |
|
|
virtual |
| std::string makVrv::DtGameControllerFunctionGroups::descriptionFor |
( |
const std::string & |
functionGroup, |
|
|
const std::string & |
function |
|
) |
| const |
Returns the description for the given function group and function.
| std::set<std::string> makVrv::DtGameControllerFunctionGroups::functionGroupsSimilarTo |
( |
const std::string & |
functionGroup | ) |
const |
Given the function group, return any function group that contains the same type of functions (not necessarily the same function names) as this group. The functions must be specified in the same order of similarity.
| bool makVrv::DtGameControllerFunctionGroups::needsTransition |
( |
const std::string & |
functionalGroup, |
|
|
const std::string & |
function |
|
) |
| const |
Returns true if the given code and group needs a transitional value (i.e the value is just not on or off) If it is non-transitional then only button values are accepted.
| bool makVrv::DtGameControllerFunctionGroups::cycle |
( |
const std::string & |
functionalGroup, |
|
|
const std::string & |
function |
|
) |
| const |
Returns true if the given code and group is a cycle value. If it is then only button/keyboard/HAT values are accepted.
| bool makVrv::DtGameControllerFunctionGroups::toggle |
( |
const std::string & |
functionalGroup, |
|
|
const std::string & |
function |
|
) |
| const |
Returns true if the given code and group is a toggle value. If it is then only button/keyboard/HAT values are accepted.
| void makVrv::DtGameControllerFunctionGroups::getFunctionMinMaxValues |
( |
const std::string & |
functionalGroup, |
|
|
const std::string & |
function, |
|
|
double & |
min, |
|
|
double & |
max |
|
) |
| const |
Supplies the min/max values of the given functionGroup and function.
| bool makVrv::DtGameControllerFunctionGroups::addOrUpdateFunctionGroupInformation |
( |
const std::string & |
functionGroup, |
|
|
const std::string & |
function, |
|
|
const DtFunctionGroupInformation & |
|
|
) |
| |
Returns true if this function was added or updated.
Creates new settings based on function group and function informaton.
| std::vector<std::string> makVrv::DtGameControllerFunctionGroups::functionsForFunctionGroup |
( |
const std::string & |
| ) |
const |
| const FunctionGroups& makVrv::DtGameControllerFunctionGroups::functionGroups |
( |
| ) |
const |
|
inline |
template<class Archive >
| void makVrv::DtGameControllerFunctionGroups::serialize |
( |
Archive & |
ar, |
|
|
const unsigned int |
version |
|
) |
| |
|
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 class boost::serialization::access |
|
friend |
| FunctionGroups makVrv::DtGameControllerFunctionGroups::myFunctionGroups |
|
protected |
The documentation for this class was generated from the following file: