JoystickStateBlockDistributer Class Reference
#include <JoystickStateBlockDistributer.h>
Public Member Functions | |
| JoystickStateBlockDistributer () | |
| ~JoystickStateBlockDistributer () | |
| bool | init (char *serverIP, unsigned short port, unsigned channelIdx, unsigned short localPort=15123) |
| void | send () |
Protected Member Functions | |
| void | encodeMessage (DEVICESTATE *src, OSG::BinaryMessage &dst) |
Protected Attributes | |
| bool | bStarted |
| unsigned short | port |
| unsigned | channelIdx |
| char * | ip |
| OSG::DgramSocket | server |
Constructor & Destructor Documentation
| JoystickStateBlockDistributer::JoystickStateBlockDistributer | ( | ) |
| JoystickStateBlockDistributer::~JoystickStateBlockDistributer | ( | ) |
Member Function Documentation
| void JoystickStateBlockDistributer::encodeMessage | ( | DEVICESTATE * | src, | |
| OSG::BinaryMessage & | dst | |||
| ) | [protected] |
| bool JoystickStateBlockDistributer::init | ( | char * | serverIP, | |
| unsigned short | port, | |||
| unsigned | channelIdx, | |||
| unsigned short | localPort = 15123 | |||
| ) |
| void JoystickStateBlockDistributer::send | ( | ) |
Member Data Documentation
bool JoystickStateBlockDistributer::bStarted [protected] |
unsigned JoystickStateBlockDistributer::channelIdx [protected] |
char* JoystickStateBlockDistributer::ip [protected] |
unsigned short JoystickStateBlockDistributer::port [protected] |
OSG::DgramSocket JoystickStateBlockDistributer::server [protected] |
The documentation for this class was generated from the following files:
- tools/applications/JoystickServer/JoystickStateBlockDistributer.h
- tools/applications/JoystickServer/JoystickStateBlockDistributer.cpp
Generated on Wed Oct 20 16:11:57 2010 for inVRs by
1.5.8