Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

vrpn_5dt Class Reference

#include <vrpn_Analog_5dt.h>

Class diagram for vrpn_5dt:

vrpn_Serial_Analog vrpn_Analog vrpn_BaseClass vrpn_BaseClassUnique

List of all members.


Public Members

 vrpn_5dt (const char * name, vrpn_Connection * c, const char * port, int baud = 19200, int mode = 1)
 ~vrpn_5dt ()
virtual void mainloop ()
Called once through each main loop iteration to handle updates.

void syncing (void)

Protected Members

virtual int reset (void)
virtual void get_report (void)
virtual void clear_values (void)
int send_command (const unsigned char *cmd, int len)
Compute the CRC for the message, append it, and send message. Returns 0 on success, -1 on failure.

virtual void report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY)
send report iff changed.

virtual void report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY)
send report whether or not changed.

int _status
int _numchannels
int _mode
int _expected_chars
unsigned char _buffer [512]
int _bufcount
struct timeval timestamp

Detailed Description


Member Function Documentation

vrpn_5dt::vrpn_5dt (const char * p_name, vrpn_Connection * p_c, const char * p_port, int p_baud = 19200, int p_mode = 1)

vrpn_5dt::~vrpn_5dt () [inline]

virtual void vrpn_5dt::mainloop (void) [virtual]

Called once through each main loop iteration to handle updates.

Reimplemented from vrpn_BaseClass.

void vrpn_5dt::syncing (void)

int vrpn_5dt::reset (void) [protected, virtual]

void vrpn_5dt::get_report (void) [protected, virtual]

void vrpn_5dt::clear_values (void) [protected, virtual]

int vrpn_5dt::send_command (const unsigned char * cmd, int len) [protected]

Compute the CRC for the message, append it, and send message. Returns 0 on success, -1 on failure.

virtual void vrpn_5dt::report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) [protected, virtual]

send report iff changed.

Reimplemented from vrpn_Analog.

virtual void vrpn_5dt::report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) [protected, virtual]

send report whether or not changed.

Reimplemented from vrpn_Analog.


Member Data Documentation

int vrpn_5dt::_status [protected]

int vrpn_5dt::_numchannels [protected]

int vrpn_5dt::_mode [protected]

int vrpn_5dt::_expected_chars [protected]

unsigned char vrpn_5dt::_buffer[512] [protected]

int vrpn_5dt::_bufcount [protected]

struct timeval vrpn_5dt::timestamp [protected]

Reimplemented from vrpn_Analog.


The documentation for this class was generated from the following files:
Generated at Fri Sep 13 15:03:54 2002 for vrpn by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999