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

vrpn_Analog_Output_Server Class Reference

#include <vrpn_Analog_Output.h>

Class diagram for vrpn_Analog_Output_Server:

vrpn_Analog_Output vrpn_BaseClass vrpn_BaseClassUnique

List of all members.


Public Members

 vrpn_Analog_Output_Server (const char* name, vrpn_Connection* c)
virtual ~vrpn_Analog_Output_Server (void)
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().

vrpn_int32 setNumChannels (vrpn_int32 sizeRequested)
Sets the size of the array; returns the size actually set. (May be clamped to vrpn_CHANNEL_MAX).


Static Public Members

int handle_request_message (void *userdata, vrpn_HANDLERPARAM p)
Responds to a request to change one of the values by setting the channel to that value.

int handle_request_channels_message (void* userdata, vrpn_HANDLERPARAM p)
Responds to a request to change a number of channels.


Detailed Description


Member Function Documentation

vrpn_Analog_Output_Server::vrpn_Analog_Output_Server (const char * name, vrpn_Connection * c)

vrpn_Analog_Output_Server::~vrpn_Analog_Output_Server (void) [virtual]

virtual void vrpn_Analog_Output_Server::mainloop (void) [inline, 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.

vrpn_int32 vrpn_Analog_Output_Server::setNumChannels (vrpn_int32 sizeRequested)

Sets the size of the array; returns the size actually set. (May be clamped to vrpn_CHANNEL_MAX).

int vrpn_Analog_Output_Server::handle_request_message (void * userdata, vrpn_HANDLERPARAM p) [static]

Responds to a request to change one of the values by setting the channel to that value.

int vrpn_Analog_Output_Server::handle_request_channels_message (void * userdata, vrpn_HANDLERPARAM p) [static]

Responds to a request to change a number of channels.


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