00001 // Filename: config_eggcharbase.cxx 00002 // Created by: drose (26Feb01) 00003 // 00004 //////////////////////////////////////////////////////////////////// 00005 // 00006 // PANDA 3D SOFTWARE 00007 // Copyright (c) Carnegie Mellon University. All rights reserved. 00008 // 00009 // All use of this software is subject to the terms of the revised BSD 00010 // license. You should have received a copy of this license along 00011 // with this source code in a file named "LICENSE." 00012 // 00013 //////////////////////////////////////////////////////////////////// 00014 00015 #include "config_eggcharbase.h" 00016 #include "eggBackPointer.h" 00017 #include "eggComponentData.h" 00018 #include "eggJointData.h" 00019 #include "eggJointNodePointer.h" 00020 #include "eggJointPointer.h" 00021 #include "eggMatrixTablePointer.h" 00022 #include "eggScalarTablePointer.h" 00023 #include "eggSliderData.h" 00024 #include "eggSliderPointer.h" 00025 #include "eggVertexPointer.h" 00026 00027 #include "dconfig.h" 00028 00029 00030 Configure(config_eggcharbase); 00031 00032 // NotifyCategoryDef(eggcharbase, ""); 00033 00034 ConfigureFn(config_eggcharbase) { 00035 init_libeggcharbase(); 00036 } 00037 00038 //////////////////////////////////////////////////////////////////// 00039 // Function: init_libeggcharbase 00040 // Description: Initializes the library. This must be called at 00041 // least once before any of the functions or classes in 00042 // this library can be used. Normally it will be 00043 // called by the static initializers and need not be 00044 // called explicitly, but special cases exist. 00045 //////////////////////////////////////////////////////////////////// 00046 void 00047 init_libeggcharbase() { 00048 static bool initialized = false; 00049 if (initialized) { 00050 return; 00051 } 00052 initialized = true; 00053 00054 EggBackPointer::init_type(); 00055 EggComponentData::init_type(); 00056 EggJointData::init_type(); 00057 EggJointNodePointer::init_type(); 00058 EggJointPointer::init_type(); 00059 EggMatrixTablePointer::init_type(); 00060 EggScalarTablePointer::init_type(); 00061 EggSliderData::init_type(); 00062 EggSliderPointer::init_type(); 00063 EggVertexPointer::init_type(); 00064 }