#include <InputData.h>
Inheritance diagram for cmil::Axis:
Public Member Functions | |
Axis (const std::string &ident) | |
virtual InputData * | clone () |
virtual void | setAxis (signed int axis) |
void | do_run (AxisAction *action) const |
Private Attributes | |
signed int | m_axis |
Definition at line 192 of file InputData.h.
cmil::Axis::Axis | ( | const std::string & | ident | ) | [inline] |
Definition at line 194 of file InputData.h.
Referenced by clone().
00194 : tInputData<AxisAction>(ident), m_axis(0) {}
Here is the caller graph for this function:
virtual InputData* cmil::Axis::clone | ( | ) | [inline, virtual] |
Implements cmil::InputData.
Definition at line 196 of file InputData.h.
References Axis().
00196 { 00197 return new Axis(*this); 00198 };
Here is the call graph for this function:
void cmil::Axis::do_run | ( | AxisAction * | action | ) | const [inline] |
Definition at line 204 of file InputData.h.
References m_axis, and cmil::AxisAction::runAxis().
00204 { 00205 action->runAxis(m_axis); 00206 }
Here is the call graph for this function:
virtual void cmil::Axis::setAxis | ( | signed int | axis | ) | [inline, virtual] |
Definition at line 200 of file InputData.h.
References m_axis.
Referenced by cmil::SDL::SDLControllers::translate().
00200 { 00201 m_axis = axis; 00202 }
Here is the caller graph for this function:
signed int cmil::Axis::m_axis [private] |