Panda3D
vrpnAnalogDevice.cxx
Go to the documentation of this file.
1 /**
2  * PANDA 3D SOFTWARE
3  * Copyright (c) Carnegie Mellon University. All rights reserved.
4  *
5  * All use of this software is subject to the terms of the revised BSD
6  * license. You should have received a copy of this license along
7  * with this source code in a file named "LICENSE."
8  *
9  * @file vrpnAnalogDevice.cxx
10  * @author drose
11  * @date 2001-01-26
12  */
13 
14 #include "vrpnAnalogDevice.h"
15 #include "vrpnClient.h"
16 
17 TypeHandle VrpnAnalogDevice::_type_handle;
18 
19 /**
20  *
21  */
22 VrpnAnalogDevice::
23 VrpnAnalogDevice(VrpnClient *client, const std::string &device_name,
24  VrpnAnalog *vrpn_analog) :
25  ClientAnalogDevice(client, device_name),
26  _vrpn_analog(vrpn_analog)
27 {
28 }
29 
30 /**
31  *
32  */
33 VrpnAnalogDevice::
34 ~VrpnAnalogDevice() {
35  disconnect();
36 }
A specific ClientBase that connects to a VRPN server and records information on the connected VRPN de...
Definition: vrpnClient.h:35
void disconnect()
Disconnects the ClientDevice from its ClientBase object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A device, attached to the ClientBase by a AnalogNode, that records the data from a single named analo...
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81
This is the actual interface to a particular VRPN analog device, and all of its numbered controls.
Definition: vrpnAnalog.h:38