#include <System.h>
Inheritance diagram for cmil::SystemClient:
Public Member Functions | |
SystemClient (System *const sys) | |
const bool | isActionCompatible (int id, InputAction *action) const |
const int | getID (const Ev &event) const |
InputData *const | getData (int id) const |
InputData *const | getData (const Ev &event) const |
std::string | getName () const |
int | getSize () const |
System * | getSystem () const |
void | quit () |
void | registerDevices (DeviceRegistry &dev) |
void | update (const InputData &input) |
void | update (const ModData &input) |
Private Attributes | |
System *const | m_system |
Definition at line 132 of file System.h.
cmil::SystemClient::SystemClient | ( | System *const | sys | ) | [inline] |
Definition at line 148 of file System.h.
References cmil::System::getData(), and m_system.
00148 { 00149 return m_system->getData(event); 00150 };
Here is the call graph for this function:
InputData* const cmil::SystemClient::getData | ( | int | id | ) | const [inline] |
Definition at line 145 of file System.h.
References cmil::System::getData(), and m_system.
Referenced by cmil::InputNode::createChild(), cmil::ComboHandler::isCombo(), and cmil::NormalHandler::isNormal().
00145 { 00146 return m_system->getData(id); 00147 };
Here is the call graph for this function:
Here is the caller graph for this function:
const int cmil::SystemClient::getID | ( | const Ev & | event | ) | const [inline] |
Definition at line 142 of file System.h.
References cmil::System::getID(), and m_system.
Referenced by cmil::InputNode::createChild().
00142 { 00143 return m_system->getID(event); 00144 };
Here is the call graph for this function:
Here is the caller graph for this function:
std::string cmil::SystemClient::getName | ( | ) | const [inline] |
Reimplemented in cmil::InputNode, cmil::ComboHandler, cmil::NormalHandler, cmil::SDL::Relay, cmil::SDL::DeviceTranslator, cmil::SDL::tDeviceTranslator< DeviceBase >, cmil::SDL::SDLKeyboards, cmil::SDL::SDLMice, cmil::SDL::SDLControllers, cmil::SDL::SDLTranslator, cmil::SDL::tDeviceTranslator< cmil::Keyboard >, cmil::SDL::tDeviceTranslator< cmil::GameController >, and cmil::SDL::tDeviceTranslator< cmil::Mouse >.
Definition at line 152 of file System.h.
int cmil::SystemClient::getSize | ( | ) | const [inline] |
Definition at line 156 of file System.h.
References cmil::System::getSize(), and m_system.
Referenced by cmil::InputNode::createChild(), cmil::NormalHandler::Merge(), and cmil::ComboHandler::Merge().
00156 { 00157 return m_system->getSize(); 00158 };
Here is the call graph for this function:
Here is the caller graph for this function:
System* cmil::SystemClient::getSystem | ( | ) | const [inline] |
Definition at line 160 of file System.h.
References m_system.
Referenced by cmil::InputNode::createChild(), cmil::NormalHandler::Merge(), and cmil::ComboHandler::Merge().
00160 { 00161 return m_system; 00162 };
Here is the caller graph for this function:
const bool cmil::SystemClient::isActionCompatible | ( | int | id, | |
InputAction * | action | |||
) | const [inline] |
Definition at line 139 of file System.h.
References cmil::System::isActionCompatible(), and m_system.
00139 { 00140 return m_system->isActionCompatible(id, action); 00141 };
Here is the call graph for this function:
void cmil::SystemClient::quit | ( | ) | [inline] |
Reimplemented in cmil::SDL::Relay.
Definition at line 164 of file System.h.
References m_system, and cmil::System::quit().
Referenced by cmil::SDL::Relay::quit(), and cmil::SDL::SDLTranslator::translate().
00164 { 00165 m_system->quit(); 00166 };
Here is the call graph for this function:
Here is the caller graph for this function:
void cmil::SystemClient::registerDevices | ( | DeviceRegistry & | dev | ) | [inline] |
Definition at line 168 of file System.h.
References m_system, and cmil::System::registerDevices().
00168 { 00169 m_system->registerDevices(dev); 00170 }
Here is the call graph for this function:
void cmil::SystemClient::update | ( | const ModData & | input | ) | [inline] |
Definition at line 176 of file System.h.
References m_system, and cmil::System::update().
00176 { 00177 m_system->update(input); 00178 };
Here is the call graph for this function:
void cmil::SystemClient::update | ( | const InputData & | input | ) | [inline] |
Definition at line 172 of file System.h.
References m_system, and cmil::System::update().
Referenced by cmil::SDL::Relay::UpdateSystem().
00172 { 00173 m_system->update(input); 00174 };
Here is the call graph for this function:
Here is the caller graph for this function:
System* const cmil::SystemClient::m_system [private] |
Reimplemented in cmil::InputNode, and cmil::ComboHandler.
Definition at line 178 of file System.h.
Referenced by getData(), getID(), getSize(), getSystem(), isActionCompatible(), quit(), registerDevices(), and update().