#include <vrpn_Analog.h>
Class diagram for vrpn_Analog_Server:

Public Members | |||
![]() | ![]() | vrpn_Analog_Server (const char * name, vrpn_Connection * c) | |
![]() | ![]() | virtual | ~vrpn_Analog_Server (void) |
![]() | ![]() | virtual void | report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) |
![]() | ![]() | Makes public the protected base class function. | |
![]() | ![]() | virtual void | report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) |
![]() | ![]() | Makes public the protected base class function. | |
![]() | ![]() | virtual void | mainloop () |
![]() | ![]() | For this server, the user will normally call report() or report_changes() directly. Here, mainloop() defaults to calling report(), since we are not asking for reliable communication. Note that this will cause very rapid sending of reports if this is called each time through a loop whose rate is unchecked. | |
![]() | ![]() | vrpn_float64* | channels (void) |
![]() | ![]() | Exposes an array of values for the user to write into. | |
![]() | ![]() | vrpn_int32 | numChannels (void) const |
![]() | ![]() | Size of the array. | |
![]() | ![]() | vrpn_int32 | setNumChannels (vrpn_int32 sizeRequested) |
![]() | ![]() | Sets the size of the array; returns the size actually set. (May be clamped to vrpn_CHANNEL_MAX). | |
| vrpn_Analog_Server::vrpn_Analog_Server (const char * name, vrpn_Connection * c) |
vrpn_Analog_Server::~vrpn_Analog_Server (void) [virtual]
|
virtual void vrpn_Analog_Server::report_changes (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) [virtual]
|
virtual void vrpn_Analog_Server::report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) [virtual]
|
virtual void vrpn_Analog_Server::mainloop (void) [inline, virtual]
|
For this server, the user will normally call report() or report_changes() directly. Here, mainloop() defaults to calling report(), since we are not asking for reliable communication. Note that this will cause very rapid sending of reports if this is called each time through a loop whose rate is unchecked.
Reimplemented from vrpn_BaseClass.
| vrpn_float64 * vrpn_Analog_Server::channels (void) |
Exposes an array of values for the user to write into.
| vrpn_int32 vrpn_Analog_Server::numChannels (void) const |
Size of the array.
| vrpn_int32 vrpn_Analog_Server::setNumChannels (vrpn_int32 sizeRequested) |
Sets the size of the array; returns the size actually set. (May be clamped to vrpn_CHANNEL_MAX).
1.0.0 written by Dimitri van Heesch,
© 1997-1999