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

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

Inheritance diagram for orxonox::SimpleCommand:
orxonox::BaseCommand

Public Member Functions

virtual SimpleCommandclone () override
 
virtual bool execute (float abs=1.0f, float rel=1.0f) override
 Executes a simple command with no additional paramters. 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

CommandEvaluation evaluation_
 

Member Function Documentation

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

Implements orxonox::BaseCommand.

bool orxonox::SimpleCommand::execute ( float  abs = 1.0f,
float  rel = 1.0f 
)
inlineoverridevirtual

Executes a simple command with no additional paramters.

Returns
True if command execution was successful, false otherwise.

Implements orxonox::BaseCommand.

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

Returns a pointer to the encapsuled evaluation.

Implements orxonox::BaseCommand.

Member Data Documentation

CommandEvaluation orxonox::SimpleCommand::evaluation_

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