#include <vrpn_ImmersionBox.h>
Class diagram for vrpn_ImmersionBox:

Public Members | |||
![]() | ![]() | vrpn_ImmersionBox (const char * name, vrpn_Connection * c, const char * port, int baud, const int numbuttons, const int numchannels, const int numencoders) | |
![]() | ![]() | ~vrpn_ImmersionBox () | |
![]() | ![]() | virtual void | mainloop (void) |
![]() | ![]() | Called once through each main loop iteration to handle updates. Remote object mainloop() should call d_connection->mainloop(). Server object mainloop() should service the device, and should not normally call d_connection->mainloop(). | |
Protected Members | |||
![]() | ![]() | virtual void | clear_values (void) |
![]() | ![]() | virtual int | reset (void) |
![]() | ![]() | virtual int | get_report (void) |
![]() | ![]() | 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). | |
![]() | ![]() | int | _status |
![]() | ![]() | int | _numbuttons |
![]() | ![]() | int | _numchannels |
![]() | ![]() | int | _numencoders |
![]() | ![]() | int | _expected_chars |
![]() | ![]() | unsigned char | _buffer [512] |
![]() | ![]() | int | _bufcount |
![]() | ![]() | struct timeval | timestamp |
| vrpn_ImmersionBox::vrpn_ImmersionBox (const char * name, vrpn_Connection * c, const char * port, int baud, const int numbuttons, const int numchannels, const int numencoders) |
vrpn_ImmersionBox::~vrpn_ImmersionBox () [inline]
|
void vrpn_ImmersionBox::mainloop (void) [virtual]
|
Called once through each main loop iteration to handle updates. Remote object mainloop() should call d_connection->mainloop(). Server object mainloop() should service the device, and should not normally call d_connection->mainloop().
Reimplemented from vrpn_BaseClass.
void vrpn_ImmersionBox::clear_values (void) [protected, virtual]
|
int vrpn_ImmersionBox::reset (void) [protected, virtual]
|
int vrpn_ImmersionBox::get_report (void) [protected, virtual]
|
void vrpn_ImmersionBox::report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) [protected, virtual]
|
void vrpn_ImmersionBox::report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) [protected, virtual]
|
int vrpn_ImmersionBox::_status [protected]
|
int vrpn_ImmersionBox::_numbuttons [protected]
|
int vrpn_ImmersionBox::_numchannels [protected]
|
int vrpn_ImmersionBox::_numencoders [protected]
|
int vrpn_ImmersionBox::_expected_chars [protected]
|
unsigned char vrpn_ImmersionBox::_buffer[512] [protected]
|
int vrpn_ImmersionBox::_bufcount [protected]
|
struct timeval vrpn_ImmersionBox::timestamp [protected]
|
Reimplemented from vrpn_Dial.
1.0.0 written by Dimitri van Heesch,
© 1997-1999