Orxonox
0.0.5 Codename: Arcturus
|
#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/input/HalfAxis.h>
Public Member Functions | |
HalfAxis () | |
virtual bool | addParamCommand (ParamCommand *command) override |
virtual void | clear () override |
bool | execute () |
void | reset () |
Public Member Functions inherited from orxonox::Button | |
Button () | |
virtual | ~Button () |
bool | execute (KeybindMode::Value mode, float abs=1.0f, float rel=1.0f) |
void | parse (const std::string &binding) |
void | readBinding (ConfigFile *configFile, ConfigFile *fallbackFile) |
void | setBinding (ConfigFile *configFile, ConfigFile *fallbackFile, const std::string &binding, bool bTemporary) |
Public Attributes | |
float | absVal_ |
bool | hasChanged_ |
unsigned int | nParamCommands_ |
ParamCommand ** | paramCommands_ |
bool | pressed_ |
float | relVal_ |
Public Attributes inherited from orxonox::Button | |
bool | bButtonThresholdUser_ |
std::string | bindingString_ |
The configured string value. More... | |
float | buttonThreshold_ |
Says how much it takes for an analog axis to trigger a button Note: This variable is here to have only one parse() function. More... | |
BaseCommand ** | commands_ [3] |
Basic commands for OnPress, OnHold and OnRelease. More... | |
std::string | groupName_ |
Name of the group of input triggers. More... | |
std::string | name_ |
Name of the trigger as strings. More... | |
unsigned int | nCommands_ [3] |
Number of basic commands. More... | |
std::vector< BufferedParamCommand * > * | paramCommandBuffer_ |
Pointer to the list of parametrised commands. More... | |
|
inline |
|
overridevirtual |
Reimplemented from orxonox::Button.
|
overridevirtual |
Reimplemented from orxonox::Button.
|
inline |
|
inline |
float orxonox::HalfAxis::absVal_ |
bool orxonox::HalfAxis::hasChanged_ |
unsigned int orxonox::HalfAxis::nParamCommands_ |
ParamCommand** orxonox::HalfAxis::paramCommands_ |
bool orxonox::HalfAxis::pressed_ |
float orxonox::HalfAxis::relVal_ |