Panda3D
panda
src
vrpn
vrpnTrackerDevice.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 vrpnTrackerDevice.cxx
10
* @author drose
11
* @date 2001-01-25
12
*/
13
14
#include "
vrpnTrackerDevice.h
"
15
#include "
vrpnClient.h
"
16
17
TypeHandle
VrpnTrackerDevice::_type_handle;
18
19
/**
20
*
21
*/
22
VrpnTrackerDevice::
23
VrpnTrackerDevice(
VrpnClient
*client,
const
std::string &device_name,
24
int
sensor, VrpnTrackerDevice::DataType data_type,
25
VrpnTracker
*vrpn_tracker) :
26
ClientTrackerDevice
(client, device_name),
27
_sensor(sensor),
28
_data_type(data_type),
29
_vrpn_tracker(vrpn_tracker)
30
{
31
}
32
33
/**
34
*
35
*/
36
VrpnTrackerDevice::
37
~VrpnTrackerDevice() {
38
disconnect
();
39
}
ClientDevice::disconnect
void disconnect()
Disconnects the ClientDevice from its ClientBase object.
Definition:
clientDevice.cxx:61
ClientTrackerDevice
A device, attached to the ClientBase by a TrackerNode, that records the data from a single tracker de...
Definition:
clientTrackerDevice.h:26
VrpnClient
A specific ClientBase that connects to a VRPN server and records information on the connected VRPN de...
Definition:
vrpnClient.h:35
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:81
vrpnClient.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
vrpnTrackerDevice.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
VrpnTracker
This is the actual interface to a particular VRPN tracker object, and all of its sensors.
Definition:
vrpnTracker.h:37
Generated on Sun Dec 27 2020 13:23:18 for Panda3D by
1.8.20