Panda3D
vrpnDialDevice.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 vrpnDialDevice.cxx
10  * @author drose
11  * @date 2001-01-26
12  */
13 
14 #include "vrpnDialDevice.h"
15 #include "vrpnClient.h"
16 
17 TypeHandle VrpnDialDevice::_type_handle;
18 
19 /**
20  *
21  */
22 VrpnDialDevice::
23 VrpnDialDevice(VrpnClient *client, const std::string &device_name,
24  VrpnDial *vrpn_dial) :
25  ClientDialDevice(client, device_name),
26  _vrpn_dial(vrpn_dial)
27 {
28 }
29 
30 /**
31  *
32  */
33 VrpnDialDevice::
34 ~VrpnDialDevice() {
35  disconnect();
36 }
A specific ClientBase that connects to a VRPN server and records information on the connected VRPN de...
Definition: vrpnClient.h:35
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void disconnect()
Disconnects the ClientDevice from its ClientBase object.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A device, attached to the ClientBase by a DialNode, that records the data from a single named dial de...
This is the actual interface to a particular VRPN dial device, and all of its numbered dials.
Definition: vrpnDial.h:37
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81