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

vrpn_Analog_Server Class Reference

#include <vrpn_Analog.h>

Class diagram for vrpn_Analog_Server:

vrpn_Analog vrpn_BaseClass vrpn_BaseClassUnique vrpn_Clipping_Analog_Server

List of all members.


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).


Detailed Description


Member Function Documentation

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]

Makes public the protected base class function.

Reimplemented from vrpn_Analog.

virtual void vrpn_Analog_Server::report (vrpn_uint32 class_of_service = vrpn_CONNECTION_LOW_LATENCY) [virtual]

Makes public the protected base class function.

Reimplemented from vrpn_Analog.

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).


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