#include <InputData.h>
Inheritance diagram for cmil::ModAction:
Public Member Functions | |
ModAction (const std::string &name) | |
void | Movement (bool movement) |
virtual void | doPress ()=0 |
virtual void | doRelease () |
Definition at line 142 of file InputData.h.
cmil::ModAction::ModAction | ( | const std::string & | name | ) | [inline] |
virtual void cmil::ModAction::doPress | ( | ) | [pure virtual] |
virtual void cmil::ModAction::doRelease | ( | ) | [inline, virtual] |
Reimplemented in helloAction.
Definition at line 156 of file InputData.h.
Referenced by Movement().
Here is the caller graph for this function:
void cmil::ModAction::Movement | ( | bool | movement | ) | [inline] |
Definition at line 146 of file InputData.h.
References doPress(), doRelease(), and cmil::pressed.
Referenced by cmil::Press::do_run().
00146 { 00147 if (movement == pressed) { 00148 doPress(); 00149 } 00150 else { 00151 doRelease(); 00152 } 00153 }
Here is the call graph for this function:
Here is the caller graph for this function: