#include <SDLTranslator.h>
Inheritance diagram for cmil::SDL::Relay:
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 |
Definition at line 25 of file SDLTranslator.h.
cmil::SDL::Relay::Relay | ( | System *const | sys | ) |
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.
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: