Panda3D
config_vrpn.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 config_vrpn.cxx
10  * @author jason
11  * @date 2000-08-07
12  */
13 
14 #include "config_vrpn.h"
15 #include "vrpnAnalogDevice.h"
16 #include "vrpnButtonDevice.h"
17 #include "vrpnClient.h"
18 #include "vrpnDialDevice.h"
19 #include "vrpnTrackerDevice.h"
20 #include "pandaSystem.h"
21 
22 #include "dconfig.h"
23 
24 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_VRPN)
25  #error Buildsystem error: BUILDING_VRPN not defined
26 #endif
27 
28 Configure(config_vrpn);
29 NotifyCategoryDef(vrpn, "");
30 
31 
32 ConfigureFn(config_vrpn) {
33  VrpnAnalogDevice::init_type();
34  VrpnButtonDevice::init_type();
35  VrpnClient::init_type();
36  VrpnDialDevice::init_type();
37  VrpnTrackerDevice::init_type();
38 
40  ps->add_system("VRPN");
41 }
PandaSystem::get_global_ptr
static PandaSystem * get_global_ptr()
Returns the global PandaSystem object.
Definition: pandaSystem.cxx:442
config_vrpn.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
vrpnButtonDevice.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PandaSystem
This class is used as a namespace to group several global properties of Panda.
Definition: pandaSystem.h:26
vrpnClient.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PandaSystem::add_system
void add_system(const std::string &system)
Intended for use by each subsystem to register itself at startup.
Definition: pandaSystem.cxx:365
pandaSystem.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
vrpnAnalogDevice.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
vrpnTrackerDevice.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
dconfig.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
vrpnDialDevice.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.