#include <soccerinput.h>
Inheritance diagram for SoccerInput:


Public Types | |
| enum | ECmds { CmdUser = kerosin::InputControl::CmdUser, CmdKickOff = CmdUser + 1 } |
Public Member Functions | |
| SoccerInput () | |
| virtual | ~SoccerInput () |
| virtual void | ProcessInput (const kerosin::InputServer::Input &input) |
| this method is called every time an input unknown to the parent InputControl node is received | |
| virtual void | OnLink () |
| registers the soccermonitor command constants and cache SparkMonitorClient reference | |
| virtual void | OnUnlink () |
| reset SparkMonitorClient reference | |
Protected Member Functions | |
| void | SendCommand (const std::string &cmd) |
Protected Attributes | |
| boost::shared_ptr< oxygen::NetClient > | mMonitorClient |
| cached reference to the monitor client | |
Definition at line 27 of file soccerinput.h.
|
|
Definition at line 30 of file soccerinput.h. |
|
|
Definition at line 29 of file soccerinput.cpp. |
|
|
Definition at line 33 of file soccerinput.cpp. |
|
|
registers the soccermonitor command constants and cache SparkMonitorClient reference
Reimplemented from zeitgeist::Leaf. Definition at line 37 of file soccerinput.cpp. References CmdKickOff, zeitgeist::Object::GetCore(), zeitgeist::Object::GetLog(), and mMonitorClient. Here is the call graph for this function: ![]() |
|
|
reset SparkMonitorClient reference
Reimplemented from zeitgeist::Leaf. Definition at line 52 of file soccerinput.cpp. References mMonitorClient. |
|
|
this method is called every time an input unknown to the parent InputControl node is received
Implements kerosin::InputItem. Definition at line 67 of file soccerinput.cpp. References CmdKickOff, kerosin::InputServer::Input::id, kerosin::InputServer::Input::KeyPress(), and SendCommand(). Here is the call graph for this function: ![]() |
|
|
Definition at line 57 of file soccerinput.cpp. References mMonitorClient. Referenced by ProcessInput(). |
|
|
cached reference to the monitor client
Definition at line 58 of file soccerinput.h. Referenced by OnLink(), OnUnlink(), and SendCommand(). |
1.4.4