Panda3D
 All Classes Functions Variables Enumerations
odeJointGroup.h
1 // Filename: odeJointGroup.h
2 // Created by: joswilso (27Dec06)
3 //
4 ////////////////////////////////////////////////////////////////////
5 //
6 // PANDA 3D SOFTWARE
7 // Copyright (c) Carnegie Mellon University. All rights reserved.
8 //
9 // All use of this software is subject to the terms of the revised BSD
10 // license. You should have received a copy of this license along
11 // with this source code in a file named "LICENSE."
12 //
13 ////////////////////////////////////////////////////////////////////
14 
15 #ifndef ODEJOINTGROUP_H
16 #define ODEJOINTGROUP_H
17 
18 #include "pandabase.h"
19 #include "typedObject.h"
20 #include "luse.h"
21 
22 #include "ode_includes.h"
23 
24 ////////////////////////////////////////////////////////////////////
25 // Class : OdeJointGroup
26 // Description :
27 ////////////////////////////////////////////////////////////////////
28 class EXPCL_PANDAODE OdeJointGroup : public TypedObject {
29 PUBLISHED:
30  OdeJointGroup();
31  virtual ~OdeJointGroup();
32  void destroy();
33  INLINE dJointGroupID get_id() const;
34 
35  INLINE void empty() const;
36 
37  INLINE int compare_to(const OdeJointGroup &other) const;
38 
39 
40 private:
41  dJointGroupID _id;
42 
43 public:
44  static TypeHandle get_class_type() {
45  return _type_handle;
46  }
47  static void init_type() {
49  register_type(_type_handle, "OdeJointGroup",
50  TypedObject::get_class_type());
51  }
52  virtual TypeHandle get_type() const {
53  return get_class_type();
54  }
55  virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
56 
57 private:
58  static TypeHandle _type_handle;
59 };
60 
61 #include "odeJointGroup.I"
62 
63 #endif
64 
static void init_type()
This function is declared non-inline to work around a compiler bug in g++ 2.96.
Definition: typedObject.cxx:52
This is an abstract class that all classes which use TypeHandle, and also provide virtual functions t...
Definition: typedObject.h:98
An STL function object class, this is intended to be used on any ordered collection of class objects ...
Definition: stl_compares.h:79
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85