Orxonox: orxonox::BufferedParamCommand Class Reference

# orxonox::BufferedParamCommand Class Reference

`#include <src/core/input/InputCommands.h>`

List of all members.

## Public Member Functions

| BufferedParamCommand ()
bool | execute ()
| Executes a buffered command. This is used for commands with additional parameters.

## Public Attributes

float | abs_
CommandEvaluation | evaluation_
int | paramIndex_
float | rel_

## Constructor & Destructor Documentation

orxonox::BufferedParamCommand::BufferedParamCommand | ( |  | ) | `[inline]`

## Member Function Documentation

bool orxonox::BufferedParamCommand::execute | ( |  | ) |

Executes a buffered command. This is used for commands with additional parameters.

Returns:
  True if command execution was successful or value was zero.

References abs_, evaluation_, orxonox::CommandEvaluation::execute(), paramIndex_, rel_, orxonox::CommandEvaluation::setEvaluatedParameter(), and orxonox::MT_Type::Vector2.

## Member Data Documentation

float orxonox::BufferedParamCommand::abs_

Referenced by orxonox::ParamCommand::execute(), and execute().

CommandEvaluation orxonox::BufferedParamCommand::evaluation_

Referenced by execute(), and orxonox::Button::parse().

int orxonox::BufferedParamCommand::paramIndex_

Referenced by execute(), and orxonox::Button::parse().

float orxonox::BufferedParamCommand::rel_

Referenced by orxonox::ParamCommand::execute(), and execute().

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

- src/core/input/InputCommands.h
- src/core/input/InputCommands.cc