Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/express/register_type.I File Reference

Go to the source code of this file.

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)


Detailed Description

Definition in file register_type.I.


Function Documentation

TypeHandle register_dynamic_type const string &  name,
TypeHandle  parent1,
TypeHandle  parent2,
TypeHandle  parent3,
TypeHandle  parent4
[inline]
 

Definition at line 128 of file register_type.I.

TypeHandle register_dynamic_type const string &  name,
TypeHandle  parent1,
TypeHandle  parent2,
TypeHandle  parent3
[inline]
 

Definition at line 117 of file register_type.I.

TypeHandle register_dynamic_type const string &  name,
TypeHandle  parent1,
TypeHandle  parent2
[inline]
 

Definition at line 108 of file register_type.I.

TypeHandle register_dynamic_type const string &  name,
TypeHandle  parent1
[inline]
 

Definition at line 101 of file register_type.I.

References TypeRegistry::ptr(), TypeRegistry::record_derivation(), and TypeRegistry::register_dynamic_type().

TypeHandle register_dynamic_type const string &  name  )  [inline]
 

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.

void register_type TypeHandle type_handle,
const string &  name,
TypeHandle  parent1,
TypeHandle  parent2,
TypeHandle  parent3,
TypeHandle  parent4
[inline]
 

Definition at line 70 of file register_type.I.

References INLINE, TypeRegistry::ptr(), and TypeRegistry::register_dynamic_type().

Referenced by Child::get_class_type(), Parent::get_class_type(), Person::get_class_type(), MultiLerpFunctor::get_class_type(), LerpFunctor::get_class_type(), NoBlendType::get_class_type(), EaseInOutBlendType::get_class_type(), EaseOutBlendType::get_class_type(), EaseInBlendType::get_class_type(), LerpBlendType::get_class_type(), AutonomousLerp::get_class_type(), Lerp::get_class_type(), TheOtherThingie::get_class_type(), ThisThingie::get_class_type(), FrustumShader::get_num_frusta(), BamReaderParam::get_type(), VirtualFileMountSystem::get_type(), VirtualFileMountMultifile::get_type(), VirtualFile::get_type(), CharacterJointBundle::get_type(), CharacterJoint::get_type(), Character::get_type(), AnimChannel< ACMatrixSwitchType >::get_type(), HprScaleLerpFunctor::HprScaleLerpFunctor(), BitMask< WordType, num_bits >::operator^(), and OutlineShader::set_color().

void register_type TypeHandle type_handle,
const string &  name,
TypeHandle  parent1,
TypeHandle  parent2,
TypeHandle  parent3
[inline]
 

Definition at line 60 of file register_type.I.

References TypeRegistry::ptr(), TypeRegistry::record_derivation(), and TypeRegistry::register_type().

void register_type TypeHandle type_handle,
const string &  name,
TypeHandle  parent1,
TypeHandle  parent2
[inline]
 

Definition at line 52 of file register_type.I.

References TypeRegistry::ptr(), and TypeRegistry::record_derivation().

void register_type TypeHandle type_handle,
const string &  name,
TypeHandle  parent1
[inline]
 

Definition at line 45 of file register_type.I.

void register_type TypeHandle type_handle,
const string &  name
[inline]
 

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.

References TypeRegistry::ptr(), TypeRegistry::record_derivation(), and TypeRegistry::register_type().


Generated on Fri May 2 00:45:34 2003 for Panda by doxygen1.3