35 #ifndef _InputCommands_H__ 36 #define _InputCommands_H__ 61 virtual bool execute(
float abs = 1.0f,
float rel = 1.0f) = 0;
65 { this->bFixedKeybindMode_ = fixed; }
67 {
return this->bFixedKeybindMode_; }
78 virtual bool execute(
float abs = 1.0f,
float rel = 1.0f)
override;
93 return evaluation_.execute();
99 return &this->evaluation_;
106 virtual bool execute(
float abs = 1.0f,
float rel = 1.0f)
override;
117 if (this->paramCommand_)
118 return &this->paramCommand_->evaluation_;
float scale_
Definition: InputCommands.h:110
CommandEvaluation evaluation_
Definition: InputCommands.h:52
void setFixedKeybindMode(bool fixed)
Definition: InputCommands.h:64
ParamCommand()
Definition: InputCommands.h:105
virtual CommandEvaluation * getEvaluation() override
Returns a pointer to the encapsuled evaluation.
Definition: InputCommands.h:115
float rel_
Definition: InputCommands.h:50
Declaration of the orxonox::CommandEvaluation class which is returned by orxonox::CommandExecutor::ev...
virtual ParamCommand * clone() override
Definition: InputCommands.h:108
float abs_
Definition: InputCommands.h:49
CommandEvaluation evaluation_
Definition: InputCommands.h:82
bool hasFixedKeybindMode() const
Definition: InputCommands.h:66
Die Wagnis Klasse hat die folgenden Aufgaben:
Definition: ApplicationPaths.cc:66
virtual bool execute(float abs=1.0f, float rel=1.0f) override
Executes a simple command with no additional paramters.
Definition: InputCommands.h:91
CommandEvaluation is used to gather information about a command and to evaluate its arguments...
Definition: CommandEvaluation.h:80
#define _CoreExport
Definition: CorePrereqs.h:61
Definition: InputCommands.h:43
Definition: InputCommands.h:75
Definition: InputCommands.h:55
bool bFixedKeybindMode_
Definition: InputCommands.h:72
virtual CommandEvaluation * getEvaluation() override
Returns a pointer to the encapsuled evaluation.
Definition: InputCommands.h:97
BaseCommand()
Definition: InputCommands.h:58
Definition: InputCommands.h:102
int paramIndex_
Definition: InputCommands.h:51
BufferedParamCommand()
Definition: InputCommands.h:46
BufferedParamCommand * paramCommand_
Definition: InputCommands.h:111
virtual SimpleCommand * clone() override
Definition: InputCommands.h:80