41 static void init_type() {
42 TypedReferenceCount::init_type();
44 TypedReferenceCount::get_class_type());
47 return get_class_type();
49 virtual TypeHandle force_init_type() {init_type();
return get_class_type();}
This is a base class for a user-defined data type to extend egg structures in processing code.
TypeHandle is the identifier used to differentiate C++ class types.
A base class for things which need to inherit from both TypedObject and from ReferenceCount.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
void register_type(TypeHandle &type_handle, const std::string &name)
This inline function is just a convenient way to call TypeRegistry::register_type(),...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.