JoystickStateBlockDistributer Class Reference

#include <JoystickStateBlockDistributer.h>

List of all members.


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

unsigned short JoystickStateBlockDistributer::port [protected]

OSG::DgramSocket JoystickStateBlockDistributer::server [protected]


The documentation for this class was generated from the following files:

Generated on Wed Oct 20 16:11:57 2010 for inVRs by doxygen 1.5.8