Panda3D

odeNullJoint.h
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 odeNullJoint.h
10 * @author joswilso
11 * @date 2006-12-27
12 */
13
14
15
16 #ifndef ODENULLJOINT_H
17 #define ODENULLJOINT_H
18
19 #include "pandabase.h"
20 #include "luse.h"
21
22 #include "ode_includes.h"
23
24 #include "odeJoint.h"
25
26 /**
27 *
28 */
29 class EXPCL_PANDAODE OdeNullJoint : public OdeJoint {
30 friend class OdeJoint;
31
32 public:
33 OdeNullJoint(dJointID id);
34
35 PUBLISHED:
36 OdeNullJoint(OdeWorld &world);
37 OdeNullJoint(OdeWorld &world, OdeJointGroup &joint_group);
38 virtual ~OdeNullJoint();
39
40 public:
41 static TypeHandle get_class_type() {
42 return _type_handle;
43 }
44 static void init_type() {
45 OdeJoint::init_type();
46 register_type(_type_handle, "OdeNullJoint",
47 OdeJoint::get_class_type());
48 }
49 virtual TypeHandle get_type() const {
50 return get_class_type();
51 }
52 virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
53
54 private:
55 static TypeHandle _type_handle;
56 };
57
58 #include "odeNullJoint.I"
59
60 #endif
OdeJointGroup
Definition: odeJointGroup.h:26
OdeJoint
Definition: odeJoint.h:51
OdeNullJoint
Definition: odeNullJoint.h:29
OdeWorld
Definition: odeWorld.h:33
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:81
luse.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
odeJoint.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
odeNullJoint.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ode_includes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
pandabase.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
register_type
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
Definition: register_type.I:22