Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

VrpnAnalog Class Reference

#include <vrpnAnalog.h>

List of all members.

Public Member Functions

 VrpnAnalog (const string &analog_name, vrpn_Connection *connection)
 ~VrpnAnalog ()
INLINE const string & get_analog_name () const
INLINE bool is_empty () const
void mark (VrpnAnalogDevice *device)
void unmark (VrpnAnalogDevice *device)
INLINE void poll ()
void output (ostream &out) const
void write (ostream &out, int indent_level=0) const

Private Types

typedef pvector< VrpnAnalogDevice * > Devices

Static Private Member Functions

void vrpn_analog_callback (void *userdata, const vrpn_ANALOGCB info)

Private Attributes

string _analog_name
vrpn_Analog_Remote * _analog
Devices _devices


Member Typedef Documentation

typedef pvector<VrpnAnalogDevice *> VrpnAnalog::Devices [private]
 

Definition at line 70 of file vrpnAnalog.h.


Constructor & Destructor Documentation

VrpnAnalog::VrpnAnalog const string &  analog_name,
vrpn_Connection *  connection
 

Definition at line 34 of file vrpnAnalog.cxx.

References _analog, _analog_name, and vrpn_analog_callback().

VrpnAnalog::~VrpnAnalog  ) 
 

Definition at line 48 of file vrpnAnalog.cxx.

References _analog.


Member Function Documentation

INLINE const string& VrpnAnalog::get_analog_name  )  const
 

Referenced by VrpnClient::free_analog(), and write().

INLINE bool VrpnAnalog::is_empty  )  const
 

Referenced by VrpnClient::disconnect_analog_device(), and VrpnClient::free_analog().

void VrpnAnalog::mark VrpnAnalogDevice device  ) 
 

Definition at line 59 of file vrpnAnalog.cxx.

References _devices.

void VrpnAnalog::output ostream &  out  )  const
 

Definition at line 92 of file vrpnAnalog.cxx.

References _analog_name.

Referenced by operator<<().

INLINE void VrpnAnalog::poll  ) 
 

Referenced by VrpnClient::do_poll().

void VrpnAnalog::unmark VrpnAnalogDevice device  ) 
 

Definition at line 73 of file vrpnAnalog.cxx.

References _devices.

Referenced by VrpnClient::disconnect_analog_device().

void VrpnAnalog::vrpn_analog_callback void *  userdata,
const vrpn_ANALOGCB  info
[static, private]
 

Definition at line 116 of file vrpnAnalog.cxx.

References _devices, ClientAnalogDevice::get_control_state(), ClientDevice::lock(), ClientAnalogDevice::set_control_state(), and ClientDevice::unlock().

Referenced by VrpnAnalog().

void VrpnAnalog::write ostream &  out,
int  indent_level = 0
const
 

Definition at line 102 of file vrpnAnalog.cxx.

References _devices, get_analog_name(), and indent().

Referenced by VrpnClient::write().


Member Data Documentation

vrpn_Analog_Remote* VrpnAnalog::_analog [private]
 

Definition at line 68 of file vrpnAnalog.h.

Referenced by VrpnAnalog(), and ~VrpnAnalog().

string VrpnAnalog::_analog_name [private]
 

Definition at line 67 of file vrpnAnalog.h.

Referenced by output(), and VrpnAnalog().

Devices VrpnAnalog::_devices [private]
 

Definition at line 71 of file vrpnAnalog.h.

Referenced by mark(), unmark(), vrpn_analog_callback(), and write().


The documentation for this class was generated from the following files:
Generated on Fri Apr 18 00:14:00 2003 for Panda by doxygen1.3