#include <GizmoClient.hpp>
Public Member Functions | |
void | sendEventATIX10 (GizmoEventATIX10 const &Event, GizmoATIX10 const &Gizmo) |
Send ATIX10 Event to server. | |
void | sendEventCPUUsage (GizmoEventCPUUsage const &Event) |
Send CPUUsage Event to server. | |
void | sendEventLIRC (GizmoEventLIRC const &Event, GizmoLIRC const &Gizmo) |
Send LIRC Event to server. | |
void | sendEventPowermate (GizmoEventPowermate const &Event, GizmoPowermate const &Gizmo) |
Send Powermate Event to server. | |
void | sendEventSoundCard (GizmoEventSoundCard const &Event) |
Send Sound Card Event to server. | |
void | sendEventSoundVisualization (GizmoEventSoundVisualization const &Event) |
Send Sound Visualization Event to server. | |
void | sendEventStandard (GizmoEventStandard const &Event, GizmoStandard const &Gizmo) |
Send Powermate Event to server. | |
void | sendEventWindowFocus (GizmoEventWindowFocus const &Event) |
Send Window Focus Event to server. | |
GizmoClient () | |
Default Constructor. | |
virtual | ~GizmoClient () |
Destructor. |
All you need to do is call SocketClient::connectToServer! Then you're a client, and can use the rest of this class
Definition at line 71 of file GizmoClient.hpp.
GizmoClient::GizmoClient | ( | ) |
Default Constructor.
GizmoClient Default Constructor.
Definition at line 56 of file GizmoClient.cpp.
GizmoClient::~GizmoClient | ( | ) | [virtual] |
void GizmoClient::sendEventATIX10 | ( | GizmoEventATIX10 const & | Event, | |
GizmoATIX10 const & | Gizmo | |||
) |
Send ATIX10 Event to server.
Send LIRC Event to server.
Definition at line 74 of file GizmoClient.cpp.
References Gizmod::GIZMO_EVENTCLASS_ATIX10, H::SocketClient::isClientConnected(), and H::SocketClient::sendToServer().
void GizmoClient::sendEventCPUUsage | ( | GizmoEventCPUUsage const & | Event | ) |
Send CPUUsage Event to server.
Event | The Event |
Definition at line 96 of file GizmoClient.cpp.
References Gizmod::GIZMO_EVENTCLASS_CPUUSAGE, H::SocketClient::isClientConnected(), and H::SocketClient::sendToServer().
void GizmoClient::sendEventLIRC | ( | GizmoEventLIRC const & | Event, | |
GizmoLIRC const & | Gizmo | |||
) |
Send LIRC Event to server.
Definition at line 115 of file GizmoClient.cpp.
References Gizmod::GIZMO_EVENTCLASS_LIRC, H::SocketClient::isClientConnected(), and H::SocketClient::sendToServer().
void GizmoClient::sendEventPowermate | ( | GizmoEventPowermate const & | Event, | |
GizmoPowermate const & | Gizmo | |||
) |
Send Powermate Event to server.
Send LIRC Event to server.
Definition at line 138 of file GizmoClient.cpp.
References Gizmod::GIZMO_EVENTCLASS_POWERMATE, H::SocketClient::isClientConnected(), and H::SocketClient::sendToServer().
void GizmoClient::sendEventSoundCard | ( | GizmoEventSoundCard const & | Event | ) |
Send Sound Card Event to server.
Send Sound Visualization Event to server.
Event | The Event |
Definition at line 160 of file GizmoClient.cpp.
References Gizmod::GIZMO_EVENTCLASS_SOUNDCARD, H::SocketClient::isClientConnected(), and H::SocketClient::sendToServer().
void GizmoClient::sendEventSoundVisualization | ( | GizmoEventSoundVisualization const & | Event | ) |
Send Sound Visualization Event to server.
Event | The Event |
Definition at line 178 of file GizmoClient.cpp.
References Gizmod::GIZMO_EVENTCLASS_SOUNDVISUALIZATION, H::SocketClient::isClientConnected(), and H::SocketClient::sendToServer().
Referenced by GizmodLibVisualPlugin::init(), GizmodLibVisualPlugin::render(), and GizmodLibVisualPlugin::shutdown().
void GizmoClient::sendEventStandard | ( | GizmoEventStandard const & | Event, | |
GizmoStandard const & | Gizmo | |||
) |
Send Powermate Event to server.
Send LIRC Event to server.
Definition at line 197 of file GizmoClient.cpp.
References Gizmod::GIZMO_EVENTCLASS_STANDARD, H::SocketClient::isClientConnected(), and H::SocketClient::sendToServer().
void GizmoClient::sendEventWindowFocus | ( | GizmoEventWindowFocus const & | Event | ) |
Send Window Focus Event to server.
Send Sound Visualization Event to server.
Event | The Event |
Definition at line 219 of file GizmoClient.cpp.
References Gizmod::GIZMO_EVENTCLASS_WINDOWFOCUS, H::SocketClient::isClientConnected(), and H::SocketClient::sendToServer().