orxonox::ParamCommand Class Reference

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

Inheritance diagram for orxonox::ParamCommand:

orxonox::BaseCommand

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

BufferedParamCommandparamCommand_
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

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

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


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

Generated on Tue Jul 28 16:22:51 2009 for Orxonox by  doxygen 1.5.6