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

Public Members | |||
![]() | ![]() | vrpn_CerealBox (const char * name, vrpn_Connection * c, const char * port, int baud, const int numbuttons, const int numchannels, const int numencoders) | |
![]() | ![]() | ~vrpn_CerealBox () | |
![]() | ![]() | virtual void | mainloop () |
![]() | ![]() | 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_CerealBox::vrpn_CerealBox (const char * name, vrpn_Connection * c, const char * port, int baud, const int numbuttons, const int numchannels, const int numencoders) |
vrpn_CerealBox::~vrpn_CerealBox () [inline]
|
void vrpn_CerealBox::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_CerealBox::clear_values (void) [protected, virtual]
|
int vrpn_CerealBox::reset (void) [protected, virtual]
|
int vrpn_CerealBox::get_report (void) [protected, virtual]
|
void vrpn_CerealBox::report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) [protected, virtual]
|
void vrpn_CerealBox::report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) [protected, virtual]
|
int vrpn_CerealBox::_status [protected]
|
int vrpn_CerealBox::_numbuttons [protected]
|
int vrpn_CerealBox::_numchannels [protected]
|
int vrpn_CerealBox::_numencoders [protected]
|
int vrpn_CerealBox::_expected_chars [protected]
|
unsigned char vrpn_CerealBox::_buffer[512] [protected]
|
int vrpn_CerealBox::_bufcount [protected]
|
struct timeval vrpn_CerealBox::timestamp [protected]
|
Reimplemented from vrpn_Dial.
1.0.0 written by Dimitri van Heesch,
© 1997-1999