Panda3D
panda
src
ode
odeHashSpace.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 odeHashSpace.h
10
* @author joswilso
11
* @date 2006-12-27
12
*/
13
14
#ifndef ODEHASHSPACE_H
15
#define ODEHASHSPACE_H
16
17
#include "
pandabase.h
"
18
#include "
typedObject.h
"
19
#include "
luse.h
"
20
21
#include "
ode_includes.h
"
22
#include "
odeSpace.h
"
23
24
25
/**
26
*
27
*/
28
class
EXPCL_PANDAODE
OdeHashSpace
:
public
OdeSpace
{
29
friend
class
OdeSpace
;
30
friend
class
OdeGeom
;
31
32
public
:
33
OdeHashSpace
(dSpaceID
id
);
34
35
PUBLISHED:
36
OdeHashSpace
();
37
OdeHashSpace
(
OdeSpace
&space);
38
virtual
~
OdeHashSpace
();
39
40
INLINE
void
set_levels(
int
minlevel,
int
maxlevel);
41
INLINE
int
get_min_level()
const
;
42
INLINE
int
get_max_level()
const
;
43
44
public
:
45
static
TypeHandle
get_class_type() {
46
return
_type_handle;
47
}
48
static
void
init_type() {
49
OdeSpace::init_type();
50
register_type
(_type_handle,
"OdeHashSpace"
,
51
OdeSpace::get_class_type());
52
}
53
virtual
TypeHandle
get_type()
const
{
54
return
get_class_type();
55
}
56
virtual
TypeHandle
force_init_type() {init_type();
return
get_class_type();}
57
58
private
:
59
static
TypeHandle
_type_handle;
60
};
61
62
#include "
odeHashSpace.I
"
63
64
#endif
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
odeHashSpace.I
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
odeSpace.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
OdeSpace
Definition:
odeSpace.h:37
OdeHashSpace
Definition:
odeHashSpace.h:28
TypeHandle
TypeHandle is the identifier used to differentiate C++ class types.
Definition:
typeHandle.h:81
typedObject.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
luse.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
ode_includes.h
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
OdeGeom
Definition:
odeGeom.h:45
Generated on Sun Dec 27 2020 13:23:06 for Panda3D by
1.8.20