cmil::SDL::Relay Class Reference

#include <SDLTranslator.h>

Inheritance diagram for cmil::SDL::Relay:

Inheritance graph
[legend]
Collaboration diagram for cmil::SDL::Relay:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Relay (System *const sys)
virtual unsigned long int getTimeRef () const =0
void UpdateSystem (ModData &input)
 These are concrete methods used to send inputdata information to the translator.
void UpdateSystem (InputData &input)
void quit ()
virtual std::string getName () const

Detailed Description

Definition at line 25 of file SDLTranslator.h.


Constructor & Destructor Documentation

cmil::SDL::Relay::Relay ( System *const   sys  ) 

Definition at line 31 of file SDLTranslator.cpp.

00031 : SystemClient(sys) {};


Member Function Documentation

std::string cmil::SDL::Relay::getName (  )  const [virtual]

Reimplemented from cmil::SystemClient.

Reimplemented in cmil::SDL::DeviceTranslator, cmil::SDL::tDeviceTranslator< DeviceBase >, cmil::SDL::SDLKeyboards, cmil::SDL::SDLMice, cmil::SDL::SDLControllers, cmil::SDL::tDeviceTranslator< cmil::Keyboard >, cmil::SDL::tDeviceTranslator< cmil::GameController >, and cmil::SDL::tDeviceTranslator< cmil::Mouse >.

Definition at line 47 of file SDLTranslator.cpp.

00047 { return "InputRelay"; };

virtual unsigned long int cmil::SDL::Relay::getTimeRef (  )  const [pure virtual]

Implemented in cmil::SDL::DeviceTranslator, cmil::SDL::tDeviceTranslator< DeviceBase >, cmil::SDL::tDeviceTranslator< cmil::Keyboard >, cmil::SDL::tDeviceTranslator< cmil::GameController >, and cmil::SDL::tDeviceTranslator< cmil::Mouse >.

Referenced by UpdateSystem().

Here is the caller graph for this function:

void cmil::SDL::Relay::quit (  ) 

Reimplemented from cmil::SystemClient.

Definition at line 43 of file SDLTranslator.cpp.

References cmil::SystemClient::quit().

00043                      {
00044       SystemClient::quit(); 
00045     };

Here is the call graph for this function:

void cmil::SDL::Relay::UpdateSystem ( InputData input  ) 

Definition at line 38 of file SDLTranslator.cpp.

References getTimeRef(), cmil::InputData::setTime(), and cmil::SystemClient::update().

00038                                              {
00039         input.setTime( getTimeRef() );
00040         update(input); 
00041     };

Here is the call graph for this function:

void cmil::SDL::Relay::UpdateSystem ( ModData input  ) 

These are concrete methods used to send inputdata information to the translator.

Definition at line 33 of file SDLTranslator.cpp.

References getTimeRef(), and cmil::SystemClient::update().

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

00033                                            {
00034         input.setTime( getTimeRef() );
00035         update(input); 
00036     };

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 files:
(c) 2006-2007 John P. Feltz
Generated on Wed Jul 25 16:08:03 2007 for Common Media Input Layer by doxygen 1.4.7

SourceForge.net Logo