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

panda/src/vrpn/vrpnClient.cxx File Reference

#include "vrpnClient.h"
#include "vrpnTracker.h"
#include "vrpnTrackerDevice.h"
#include "vrpnButton.h"
#include "vrpnButtonDevice.h"
#include "vrpnAnalog.h"
#include "vrpnAnalogDevice.h"
#include "vrpnDial.h"
#include "vrpnDialDevice.h"
#include "config_vrpn.h"
#include "dcast.h"
#include "string_utils.h"
#include "indent.h"

Go to the source code of this file.

Functions

 PT (ClientDevice) VrpnClient
 Creates and returns a new ClientDevice of the appropriate type, according to the requested device_type and device_name.


Detailed Description

Definition in file vrpnClient.cxx.


Function Documentation

PT ClientDevice   ) 
 

Creates and returns a new ClientDevice of the appropriate type, according to the requested device_type and device_name.

Returns NULL if a matching device cannot be found.

This is guaranteed not to be called twice for a given device_type/device_name combination (unless disconnect_device() has already been called for the same device_type/device_name).

Definition at line 165 of file vrpnClient.cxx.

References DCAST, ClientBase::disconnect_device(), VrpnDialDevice::get_class_type(), VrpnAnalogDevice::get_class_type(), VrpnButtonDevice::get_class_type(), VrpnTrackerDevice::get_class_type(), and TypedObject::is_of_type().


Generated on Fri May 2 00:46:17 2003 for Panda by doxygen1.3