Panda3D
odeNullJoint.h
1 #ifndef ODENULLJOINT_H
2 #define ODENULLJOINT_H
3 
4 #include "pandabase.h"
5 #include "luse.h"
6 
7 #include "ode_includes.h"
8 
9 #include "odeJoint.h"
10 
11 ////////////////////////////////////////////////////////////////////
12 // Class : OdeNullJoint
13 // Description :
14 ////////////////////////////////////////////////////////////////////
15 class EXPCL_PANDAODE OdeNullJoint : public OdeJoint {
16  friend class OdeJoint;
17 
18 public:
19  OdeNullJoint(dJointID id);
20 
21 PUBLISHED:
22  OdeNullJoint(OdeWorld &world);
23  OdeNullJoint(OdeWorld &world, OdeJointGroup &joint_group);
24  virtual ~OdeNullJoint();
25 
26 public:
27  static TypeHandle get_class_type() {
28  return _type_handle;
29  }
30  static void init_type() {
31  OdeJoint::init_type();
32  register_type(_type_handle, "OdeNullJoint",
33  OdeJoint::get_class_type());
34  }
35  virtual TypeHandle get_type() const {
36  return get_class_type();
37  }
38  virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
39 
40 private:
41  static TypeHandle _type_handle;
42 };
43 
44 #include "odeNullJoint.I"
45 
46 #endif
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85