Panda3D

config_dgraph.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_dgraph.cxx
10 * @author drose
11 * @date 2000-03-01
12 */
13
14 #include "config_dgraph.h"
15 #include "dataNode.h"
16 #include "dataNodeTransmit.h"
17
18 #include "dconfig.h"
19
20 #if !defined(CPPPARSER) && !defined(LINK_ALL_STATIC) && !defined(BUILDING_PANDA_DGRAPH)
21 #error Buildsystem error: BUILDING_PANDA_DGRAPH not defined
22 #endif
23
24 Configure(config_dgraph);
25 NotifyCategoryDef(dgraph, "");
26
27 ConfigureFn(config_dgraph) {
28 DataNode::init_type();
29 DataNodeTransmit::init_type();
30
31 DataNodeTransmit::register_with_read_factory();
32 }
DataNodeTransmit::register_with_read_factory
static void register_with_read_factory()
Tells the BamReader how to create objects of type Lens.
Definition: dataNodeTransmit.cxx:42
config_dgraph.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
dataNodeTransmit.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
dataNode.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
dconfig.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.