Panda3D
config_vrpn.cxx
1 // Filename: config_vrpn.cxx
2 // Created by: jason (07Aug00)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #include "config_vrpn.h"
16 #include "vrpnAnalogDevice.h"
17 #include "vrpnButtonDevice.h"
18 #include "vrpnClient.h"
19 #include "vrpnDialDevice.h"
20 #include "vrpnTrackerDevice.h"
21 #include "pandaSystem.h"
22 
23 #include "dconfig.h"
24 
25 Configure(config_vrpn);
26 NotifyCategoryDef(vrpn, "");
27 
28 
29 ConfigureFn(config_vrpn) {
30  VrpnAnalogDevice::init_type();
31  VrpnButtonDevice::init_type();
32  VrpnClient::init_type();
33  VrpnDialDevice::init_type();
34  VrpnTrackerDevice::init_type();
35 
37  ps->add_system("VRPN");
38 }
static PandaSystem * get_global_ptr()
Returns the global PandaSystem object.
This class is used as a namespace to group several global properties of Panda.
Definition: pandaSystem.h:29
void add_system(const string &system)
Intended for use by each subsystem to register itself at startup.