Orxonox: orxonox::ParamCommand Class Reference

# orxonox::ParamCommand Class Reference

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

Inheritance diagram for orxonox::ParamCommand:

List of all members.

## Public Member Functions

bool | execute (float abs=1.0f, float rel=1.0f)
| Executes a parameter command. The commmand string is not directly executed, but instead stored in a buffer list so that values can be combined.
| ParamCommand ()

## Public Attributes

BufferedParamCommand * | paramCommand_
float | scale_

## Constructor & Destructor Documentation

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

## Member Function Documentation

bool orxonox::ParamCommand::execute | ( | float | abs = `1.0f`,
|  | float | rel = `1.0f` |
| ) |  |  | `[virtual]`

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.

References orxonox::BufferedParamCommand::abs_, paramCommand_, orxonox::BufferedParamCommand::rel_, and scale_.

## Member Data Documentation

BufferedParamCommand* orxonox::ParamCommand::paramCommand_

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

float orxonox::ParamCommand::scale_

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

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

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