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