Panda3D
odeSimpleSpace.h
1 // Filename: odeSimpleSpace.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 ODESIMPLESPACE_H
16 #define ODESIMPLESPACE_H
17 
18 #include "pandabase.h"
19 #include "luse.h"
20 
21 #include "ode_includes.h"
22 #include "odeSpace.h"
23 
24 
25 ////////////////////////////////////////////////////////////////////
26 // Class : OdeSimpleSpace
27 // Description :
28 ////////////////////////////////////////////////////////////////////c
29 class EXPCL_PANDAODE OdeSimpleSpace : public OdeSpace {
30  friend class OdeSpace;
31  friend class OdeGeom;
32 
33 public:
34  OdeSimpleSpace(dSpaceID id);
35 
36 PUBLISHED:
38  OdeSimpleSpace(OdeSpace &space);
39  virtual ~OdeSimpleSpace();
40 
41 public:
42  static TypeHandle get_class_type() {
43  return _type_handle;
44  }
45  static void init_type() {
46  OdeSpace::init_type();
47  register_type(_type_handle, "OdeSimpleSpace",
48  OdeSpace::get_class_type());
49  }
50  virtual TypeHandle get_type() const {
51  return get_class_type();
52  }
53  virtual TypeHandle force_init_type() {init_type(); return get_class_type();}
54 
55 private:
56  static TypeHandle _type_handle;
57 };
58 
59 #include "odeSimpleSpace.I"
60 
61 #endif
62 
TypeHandle is the identifier used to differentiate C++ class types.
Definition: typeHandle.h:85