Orxonox  0.0.5 Codename: Arcturus
Public Member Functions | Public Attributes | List of all members
orxonox::ParamCommand Class Reference

#include </home/jenkins/workspace/orxonox_doxygen_trunk/src/libraries/core/input/InputCommands.h>

Inheritance diagram for orxonox::ParamCommand:
orxonox::BaseCommand

Public Member Functions

 ParamCommand ()
 
virtual ParamCommandclone () override
 
virtual bool execute (float abs=1.0f, float rel=1.0f) override
 Executes a parameter command. More...
 
virtual CommandEvaluationgetEvaluation () override
 Returns a pointer to the encapsuled evaluation. More...
 
- Public Member Functions inherited from orxonox::BaseCommand
 BaseCommand ()
 
virtual ~BaseCommand ()=default
 
bool hasFixedKeybindMode () const
 
void setFixedKeybindMode (bool fixed)
 

Public Attributes

BufferedParamCommandparamCommand_
 
float scale_
 

Constructor & Destructor Documentation

orxonox::ParamCommand::ParamCommand ( )
inline

Member Function Documentation

virtual ParamCommand* orxonox::ParamCommand::clone ( )
inlineoverridevirtual

Implements orxonox::BaseCommand.

bool orxonox::ParamCommand::execute ( float  abs = 1.0f,
float  rel = 1.0f 
)
overridevirtual

Executes a parameter command.

The commmand string is not directly executed, but instead stored in a buffer list so that values can be combined.

Returns
Always true.

Implements orxonox::BaseCommand.

CommandEvaluation * orxonox::ParamCommand::getEvaluation ( )
inlineoverridevirtual

Returns a pointer to the encapsuled evaluation.

Implements orxonox::BaseCommand.

Member Data Documentation

BufferedParamCommand* orxonox::ParamCommand::paramCommand_
float orxonox::ParamCommand::scale_

The documentation for this class was generated from the following files: