Panda3D
 All Classes Functions Variables Enumerations
config_eggcharbase.cxx
1 // Filename: config_eggcharbase.cxx
2 // Created by: drose (26Feb01)
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_eggcharbase.h"
16 #include "eggBackPointer.h"
17 #include "eggComponentData.h"
18 #include "eggJointData.h"
19 #include "eggJointNodePointer.h"
20 #include "eggJointPointer.h"
21 #include "eggMatrixTablePointer.h"
22 #include "eggScalarTablePointer.h"
23 #include "eggSliderData.h"
24 #include "eggSliderPointer.h"
25 #include "eggVertexPointer.h"
26 
27 #include "dconfig.h"
28 
29 
30 Configure(config_eggcharbase);
31 
32 // NotifyCategoryDef(eggcharbase, "");
33 
34 ConfigureFn(config_eggcharbase) {
35  init_libeggcharbase();
36 }
37 
38 ////////////////////////////////////////////////////////////////////
39 // Function: init_libeggcharbase
40 // Description: Initializes the library. This must be called at
41 // least once before any of the functions or classes in
42 // this library can be used. Normally it will be
43 // called by the static initializers and need not be
44 // called explicitly, but special cases exist.
45 ////////////////////////////////////////////////////////////////////
46 void
47 init_libeggcharbase() {
48  static bool initialized = false;
49  if (initialized) {
50  return;
51  }
52  initialized = true;
53 
54  EggBackPointer::init_type();
55  EggComponentData::init_type();
56  EggJointData::init_type();
57  EggJointNodePointer::init_type();
58  EggJointPointer::init_type();
59  EggMatrixTablePointer::init_type();
60  EggScalarTablePointer::init_type();
61  EggSliderData::init_type();
62  EggSliderPointer::init_type();
63  EggVertexPointer::init_type();
64 }