Panda3D
panda
src
device
clientDevice.I
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 clientDevice.I
10
* @author drose
11
* @date 2001-01-25
12
*/
13
14
/**
15
* Returns the ClientBase this device is associated with.
16
*/
17
INLINE
ClientBase
*
ClientDevice::
18
get_client
()
const
{
19
return
_client;
20
}
21
22
/**
23
* Returns the type of device this is considered to be to the ClientBase: a
24
* ClientTrackerDevice, ClientAnalogDevice, or what have you. This is not
25
* exactly the same thing as get_type(), because it does not return the exact
26
* type of the ClientDevice (e.g. it reports ClientTrackerDevice, not
27
* VrpnTrackerDevice).
28
*/
29
INLINE
TypeHandle
ClientDevice::
30
get_device_type
()
const
{
31
return
_device_type;
32
}
ClientDevice::get_device_type
TypeHandle get_device_type() const
Returns the type of device this is considered to be to the ClientBase: a ClientTrackerDevice,...
Definition:
clientDevice.I:30
ClientBase
An abstract base class for a family of client device interfaces–including trackers,...
Definition:
clientBase.h:43
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:81
ClientDevice::get_client
ClientBase * get_client() const
Returns the ClientBase this device is associated with.
Definition:
clientDevice.I:18
Generated on Sun Dec 27 2020 13:22:50 for Panda3D by
1.8.20