DeviceStateSender Class Reference
#include <DeviceStateSender.h>
Public Member Functions | |
| DeviceStateSender () | |
| ~DeviceStateSender () | |
| bool | init (const char *hostname, unsigned short port, unsigned channelIdx) |
| void | send (DeviceState *state) |
| void | dump (DeviceState *state, FILE *file) |
Protected Member Functions | |
| unsigned char * | generateMessage (DeviceState *src, unsigned &bufferSize) |
| void | putUInt32 (unsigned char *&dst, unsigned value) |
| void | putUInt8 (unsigned char *&dst, unsigned char value) |
| void | putReal32 (unsigned char *&dst, float value) |
Protected Attributes | |
| bool | isConfigured |
| std::string | hostname |
| unsigned short | port |
| unsigned char | channelIdx |
| int | netsocket |
| struct sockaddr_in | serverAddr |
Constructor & Destructor Documentation
| DeviceStateSender::DeviceStateSender | ( | ) |
| DeviceStateSender::~DeviceStateSender | ( | ) |
Member Function Documentation
| void DeviceStateSender::dump | ( | DeviceState * | state, | |
| FILE * | file | |||
| ) |
| unsigned char * DeviceStateSender::generateMessage | ( | DeviceState * | src, | |
| unsigned & | bufferSize | |||
| ) | [protected] |
| bool DeviceStateSender::init | ( | const char * | hostname, | |
| unsigned short | port, | |||
| unsigned | channelIdx | |||
| ) |
| void DeviceStateSender::putReal32 | ( | unsigned char *& | dst, | |
| float | value | |||
| ) | [protected] |
| void DeviceStateSender::putUInt32 | ( | unsigned char *& | dst, | |
| unsigned | value | |||
| ) | [protected] |
| void DeviceStateSender::putUInt8 | ( | unsigned char *& | dst, | |
| unsigned char | value | |||
| ) | [protected] |
| void DeviceStateSender::send | ( | DeviceState * | state | ) |
Member Data Documentation
unsigned char DeviceStateSender::channelIdx [protected] |
std::string DeviceStateSender::hostname [protected] |
bool DeviceStateSender::isConfigured [protected] |
int DeviceStateSender::netsocket [protected] |
unsigned short DeviceStateSender::port [protected] |
struct sockaddr_in DeviceStateSender::serverAddr [read, protected] |
The documentation for this class was generated from the following files:
- tools/applications/WiiDeviceServer/DeviceStateSender.h
- tools/applications/WiiDeviceServer/DeviceStateSender.cpp
Generated on Wed Oct 20 16:11:55 2010 for inVRs by
1.5.8