cmil::ModAction Class Reference

#include <InputData.h>

Inheritance diagram for cmil::ModAction:

Inheritance graph
[legend]
Collaboration diagram for cmil::ModAction:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ModAction (const std::string &name)
void Movement (bool movement)
virtual void doPress ()=0
virtual void doRelease ()

Detailed Description

Definition at line 142 of file InputData.h.


Constructor & Destructor Documentation

cmil::ModAction::ModAction ( const std::string &  name  )  [inline]

Definition at line 144 of file InputData.h.

00144 : InputAction(name) {}


Member Function Documentation

virtual void cmil::ModAction::doPress (  )  [pure virtual]

Implemented in helloAction.

Referenced by Movement().

Here is the caller graph for this function:

virtual void cmil::ModAction::doRelease (  )  [inline, virtual]

Reimplemented in helloAction.

Definition at line 156 of file InputData.h.

Referenced by Movement().

00156 {}; 

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:


The documentation for this class was generated from the following file:
(c) 2006-2007 John P. Feltz
Generated on Wed Jul 25 16:08:02 2007 for Common Media Input Layer by doxygen 1.4.7

SourceForge.net Logo