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

vrpn_Analog Class Reference

#include <vrpn_Analog.h>

Class diagram for vrpn_Analog:

vrpn_BaseClass vrpn_BaseClassUnique vrpn_raw_SGIBox vrpn_Serial_Analog vrpn_Joylin vrpn_Analog_Server vrpn_Analog_Remote vrpn_Zaber vrpn_Wanda vrpn_Tng3 vrpn_Spaceball vrpn_Radamec_SPI vrpn_Nikon_Controls vrpn_Magellan vrpn_Joystick vrpn_ImmersionBox vrpn_CerealBox vrpn_5dt vrpn_Clipping_Analog_Server

List of all members.


Public Members

 vrpn_Analog (const char * name, vrpn_Connection * c = NULL)
void print (void)

Protected Members

virtual int register_types (void)
Register the types of messages this device sends/receives. Return 0 on success, -1 on fail.

virtual vrpn_int32 encode_to (char *buf)
virtual void report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY)
Send a report only if something has changed (for servers).

virtual void report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY)
Send a report whether something has changed or not (for servers).

vrpn_float64 channel [vrpn_CHANNEL_MAX]
vrpn_float64 last [vrpn_CHANNEL_MAX]
vrpn_int32 num_channel
struct timeval timestamp
vrpn_int32 channel_m_id
int status

Detailed Description


Member Function Documentation

vrpn_Analog::vrpn_Analog (const char * name, vrpn_Connection * c = NULL)

void vrpn_Analog::print (void)

int vrpn_Analog::register_types (void) [protected, virtual]

Register the types of messages this device sends/receives. Return 0 on success, -1 on fail.

Reimplemented from vrpn_BaseClass.

vrpn_int32 vrpn_Analog::encode_to (char * buf) [protected, virtual]

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

Send a report only if something has changed (for servers).

Reimplemented in vrpn_5dt, vrpn_Analog_Server, vrpn_CerealBox, vrpn_ImmersionBox, vrpn_Magellan, vrpn_Nikon_Controls, vrpn_Radamec_SPI, vrpn_Spaceball, vrpn_Tng3, and vrpn_Zaber.

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

Send a report whether something has changed or not (for servers).

Reimplemented in vrpn_5dt, vrpn_Analog_Server, vrpn_CerealBox, vrpn_ImmersionBox, vrpn_Magellan, vrpn_Nikon_Controls, vrpn_Radamec_SPI, vrpn_Spaceball, vrpn_Tng3, and vrpn_Zaber.


Member Data Documentation

vrpn_float64 vrpn_Analog::channel[vrpn_CHANNEL_MAX] [protected]

vrpn_float64 vrpn_Analog::last[vrpn_CHANNEL_MAX] [protected]

vrpn_int32 vrpn_Analog::num_channel [protected]

struct timeval vrpn_Analog::timestamp [protected]

Reimplemented in vrpn_5dt, vrpn_CerealBox, vrpn_ImmersionBox, vrpn_Magellan, vrpn_Nikon_Controls, vrpn_Radamec_SPI, vrpn_Spaceball, and vrpn_Zaber.

vrpn_int32 vrpn_Analog::channel_m_id [protected]

int vrpn_Analog::status [protected]


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