Gizmod::GizmoClient Class Reference

This class can be used to make a connection to the server. More...

#include <GizmoClient.hpp>

Inheritance diagram for Gizmod::GizmoClient:

Inheritance graph
[legend]
Collaboration diagram for Gizmod::GizmoClient:

Collaboration graph
[legend]

List of all members.

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.


Detailed Description

This class can be used to make a connection to the server.

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.


Constructor & Destructor Documentation

GizmoClient::GizmoClient (  ) 

Default Constructor.

GizmoClient Default Constructor.

Definition at line 56 of file GizmoClient.cpp.

GizmoClient::~GizmoClient (  )  [virtual]

Destructor.

GizmoClient Destructor.

Definition at line 62 of file GizmoClient.cpp.


Member Function Documentation

void GizmoClient::sendEventATIX10 ( GizmoEventATIX10 const &  Event,
GizmoATIX10 const &  Gizmo 
)

Send ATIX10 Event to server.

Send LIRC Event to server.

Parameters:
Event The Event
Gizmo The Gizmo that is creating the event

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.

Parameters:
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.

Parameters:
Event The Event
Gizmo The Gizmo that is creating the event

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.

Parameters:
Event The Event
Gizmo The Gizmo that is creating the event

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.

Parameters:
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.

Parameters:
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.

Parameters:
Event The Event
Gizmo The Gizmo that is creating the event

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.

Parameters:
Event The Event

Definition at line 219 of file GizmoClient.cpp.

References Gizmod::GIZMO_EVENTCLASS_WINDOWFOCUS, H::SocketClient::isClientConnected(), and H::SocketClient::sendToServer().


The documentation for this class was generated from the following files:
Generated on Wed Nov 7 10:07:02 2007 for gizmod by  doxygen 1.5.3