#include "pandabase.h"#include "typeHandle.h"#include "typeRegistry.h"#include "register_type.I"Go to the source code of this file.
Defines | |
| #define | get_type_handle(type) _get_type_handle((const type *)0) |
| #define | do_init_type(type) _do_init_type((const type *)0) |
Functions | |
| void | register_type (TypeHandle &type_handle, const string &name) |
| This inline function is just a convenient way to call TypeRegistry::register_type(), along with zero to four record_derivation()s. | |
| void | register_type (TypeHandle &type_handle, const string &name, TypeHandle parent1) |
| void | register_type (TypeHandle &type_handle, const string &name, TypeHandle parent1, TypeHandle parent2) |
| void | register_type (TypeHandle &type_handle, const string &name, TypeHandle parent1, TypeHandle parent2, TypeHandle parent3) |
| void | register_type (TypeHandle &type_handle, const string &name, TypeHandle parent1, TypeHandle parent2, TypeHandle parent3, TypeHandle parent4) |
| TypeHandle | register_dynamic_type (const string &name) |
| This is essentially similar to register_type(), except that it doesn't store a reference to any TypeHandle passed in and it therefore doesn't complain if the type is registered more than once to different TypeHandle reference. | |
| TypeHandle | register_dynamic_type (const string &name, TypeHandle parent1) |
| TypeHandle | register_dynamic_type (const string &name, TypeHandle parent1, TypeHandle parent2) |
| TypeHandle | register_dynamic_type (const string &name, TypeHandle parent1, TypeHandle parent2, TypeHandle parent3) |
| TypeHandle | register_dynamic_type (const string &name, TypeHandle parent1, TypeHandle parent2, TypeHandle parent3, TypeHandle parent4) |
| void EXPCL_PANDAEXPRESS | init_system_type_handles () |
| template<class T> TypeHandle | _get_type_handle (const T *) |
| template<> TypeHandle | _get_type_handle (const long *) |
| template<> TypeHandle | _get_type_handle (const int *) |
| template<> TypeHandle | _get_type_handle (const short *) |
| template<> TypeHandle | _get_type_handle (const char *) |
| template<> TypeHandle | _get_type_handle (const bool *) |
| template<> TypeHandle | _get_type_handle (const double *) |
| template<> TypeHandle | _get_type_handle (const float *) |
| template<> TypeHandle | _get_type_handle (const long *const *) |
| template<> TypeHandle | _get_type_handle (const int *const *) |
| template<> TypeHandle | _get_type_handle (const short *const *) |
| template<> TypeHandle | _get_type_handle (const char *const *) |
| template<> TypeHandle | _get_type_handle (const bool *const *) |
| template<> TypeHandle | _get_type_handle (const double *const *) |
| template<> TypeHandle | _get_type_handle (const float *const *) |
| template<> TypeHandle | _get_type_handle (const void *const *) |
| template<class T> void | _do_init_type (const T *) |
| template<> void | _do_init_type (const long *) |
| template<> void | _do_init_type (const int *) |
| template<> void | _do_init_type (const short *) |
| template<> void | _do_init_type (const char *) |
| template<> void | _do_init_type (const bool *) |
| template<> void | _do_init_type (const double *) |
| template<> void | _do_init_type (const float *) |
| template<> void | _do_init_type (const long *const *) |
| template<> void | _do_init_type (const int *const *) |
| template<> void | _do_init_type (const short *const *) |
| template<> void | _do_init_type (const char *const *) |
| template<> void | _do_init_type (const bool *const *) |
| template<> void | _do_init_type (const double *const *) |
| template<> void | _do_init_type (const float *const *) |
| template<> void | _do_init_type (const void *const *) |
Variables | |
| TypeHandle EXPCL_PANDAEXPRESS | long_type_handle |
| TypeHandle EXPCL_PANDAEXPRESS | int_type_handle |
| TypeHandle EXPCL_PANDAEXPRESS | short_type_handle |
| TypeHandle EXPCL_PANDAEXPRESS | char_type_handle |
| TypeHandle EXPCL_PANDAEXPRESS | bool_type_handle |
| TypeHandle EXPCL_PANDAEXPRESS | double_type_handle |
| TypeHandle EXPCL_PANDAEXPRESS | float_type_handle |
| TypeHandle | long_p_type_handle |
| TypeHandle | int_p_type_handle |
| TypeHandle | short_p_type_handle |
| TypeHandle | char_p_type_handle |
| TypeHandle | bool_p_type_handle |
| TypeHandle | double_p_type_handle |
| TypeHandle | float_p_type_handle |
| TypeHandle | void_p_type_handle |
Definition in file register_type.h.
|
|
Definition at line 299 of file register_type.h. Referenced by SimpleLerpFunctor< LVecBase4f >::get_class_type(). |
|
|
Definition at line 212 of file register_type.h. Referenced by MovingPart< SwitchType >::MovingPart(). |
|
||||||||||
|
Definition at line 295 of file register_type.h. |
|
||||||||||
|
Definition at line 290 of file register_type.h. |
|
||||||||||
|
Definition at line 285 of file register_type.h. |
|
||||||||||
|
Definition at line 280 of file register_type.h. |
|
||||||||||
|
Definition at line 275 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 270 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 265 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 260 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 255 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 250 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 245 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 240 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 235 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 230 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 225 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 220 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 205 of file register_type.h. References init_system_type_handles(), and INLINE. |
|
||||||||||
|
Definition at line 200 of file register_type.h. References INLINE. |
|
||||||||||
|
Definition at line 195 of file register_type.h. |
|
||||||||||
|
Definition at line 190 of file register_type.h. |
|
||||||||||
|
Definition at line 185 of file register_type.h. References INLINE, and void_p_type_handle. |
|
||||||||||
|
Definition at line 180 of file register_type.h. References float_p_type_handle, and INLINE. |
|
||||||||||
|
Definition at line 175 of file register_type.h. References double_p_type_handle, and INLINE. |
|
||||||||||
|
Definition at line 170 of file register_type.h. References bool_p_type_handle, and INLINE. |
|
||||||||||
|
Definition at line 165 of file register_type.h. References char_p_type_handle, and INLINE. |
|
||||||||||
|
Definition at line 160 of file register_type.h. References INLINE, and short_p_type_handle. |
|
||||||||||
|
Definition at line 155 of file register_type.h. References INLINE, and int_p_type_handle. |
|
||||||||||
|
Definition at line 150 of file register_type.h. References INLINE, and long_p_type_handle. |
|
||||||||||
|
Definition at line 145 of file register_type.h. References float_type_handle, and INLINE. |
|
||||||||||
|
Definition at line 140 of file register_type.h. References double_type_handle, and INLINE. |
|
||||||||||
|
Definition at line 135 of file register_type.h. References bool_type_handle, and INLINE. |
|
||||||||||
|
Definition at line 130 of file register_type.h. References char_type_handle, and INLINE. |
|
|
Definition at line 42 of file register_type.cxx. |
|
||||||||||||||||||||||||
|
Definition at line 128 of file register_type.I. |
|
||||||||||||||||||||
|
Definition at line 117 of file register_type.I. |
|
||||||||||||||||
|
Definition at line 108 of file register_type.I. |
|
||||||||||||
|
Definition at line 101 of file register_type.I. |
|
|
This is essentially similar to register_type(), except that it doesn't store a reference to any TypeHandle passed in and it therefore doesn't complain if the type is registered more than once to different TypeHandle reference.
Definition at line 97 of file register_type.I. Referenced by EventStoreValueBase::init_type(). |
|
||||||||||||||||||||||||||||
|
||||||||||||||||||||||||
|
Definition at line 60 of file register_type.I. |
|
||||||||||||||||||||
|
Definition at line 52 of file register_type.I. |
|
||||||||||||||||
|
Definition at line 45 of file register_type.I. |
|
||||||||||||
|
This inline function is just a convenient way to call TypeRegistry::register_type(), along with zero to four record_derivation()s. If for some reason you have a class that has more than four base classes (you're insane!), then you will need to call Register() and record_derivation() yourself. Definition at line 41 of file register_type.I. |
|
|
Definition at line 118 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 110 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 117 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 109 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 119 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 111 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 120 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 112 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 115 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 107 of file register_type.h. |
|
|
Definition at line 114 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 106 of file register_type.h. |
|
|
Definition at line 116 of file register_type.h. Referenced by _get_type_handle(). |
|
|
Definition at line 108 of file register_type.h. |
|
|
Definition at line 121 of file register_type.h. Referenced by _get_type_handle(). |
1.3