cmil::ModData Class Reference

#include <InputData.h>

Inheritance diagram for cmil::ModData:

Inheritance graph
Collaboration diagram for cmil::ModData:

Collaboration graph
List of all members.

Public Member Functions

 ModData (const std::string &ident)
virtual InputDataclone ()=0
virtual void do_run (ModAction *action) const =0
void setState (const bool state)

Detailed Description

This type is distinguished from normal InputData because it is capable of setting it's state and thus other inputdata should be able to depend on this type as a modifier for them.

Definition at line 161 of file InputData.h.

Constructor & Destructor Documentation

cmil::ModData::ModData ( const std::string &  ident  )  [inline]

Definition at line 163 of file InputData.h.

00163 : tInputData<ModAction>(ident) {};

Member Function Documentation

virtual InputData* cmil::ModData::clone (  )  [pure virtual]

Implements cmil::InputData.

Implemented in cmil::Press.

virtual void cmil::ModData::do_run ( ModAction action  )  const [pure virtual]

Implemented in cmil::Press.

void cmil::ModData::setState ( const bool  state  )  [inline]

Definition at line 169 of file InputData.h.

References cmil::InputData::m_state.

Referenced by cmil::SDL::SDLControllers::translate(), cmil::SDL::SDLMice::translate(), and cmil::SDL::SDLKeyboards::translate().

00169 { m_state = state; }

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 Logo