Panda3D
|
Skeleton object that inherits from TypedObject. More...
#include "typedSkel.h"
Public Member Functions | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
int | get_value () |
Retreives a value that was previously stored. | |
int | get_value_alt () |
Retreives a value that was previously stored. | |
void | set_value (int n) |
Stores an integer value. | |
void | set_value_alt (int n) |
Stores an integer value. | |
![]() | |
TypedObject (const TypedObject ©)=default | |
TypedObject * | as_typed_object () |
Returns the object, upcast (if necessary) to a TypedObject pointer. | |
const TypedObject * | as_typed_object () const |
Returns the object, upcast (if necessary) to a TypedObject pointer. | |
int | get_best_parent_from_Set (const std::set< int > &) const |
int | get_type_index () const |
Returns the internal index number associated with this object's TypeHandle, a unique number for each different type. | |
bool | is_exact_type (TypeHandle handle) const |
Returns true if the current object is the indicated type exactly. | |
bool | is_of_type (TypeHandle handle) const |
Returns true if the current object is or derives from the indicated type. | |
TypedObject & | operator= (const TypedObject ©)=default |
![]() | |
void | operator delete (void *, void *) |
void | operator delete (void *ptr) |
void | operator delete[] (void *, void *) |
void | operator delete[] (void *ptr) |
void * | operator new (size_t size) |
void * | operator new (size_t size, void *ptr) |
void * | operator new[] (size_t size) |
void * | operator new[] (size_t size, void *ptr) |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
![]() | |
static TypeHandle | get_class_type () |
static void | init_type () |
This function is declared non-inline to work around a compiler bug in g++ 2.96. | |
Additional Inherited Members | |
![]() | |
get_type | |
Skeleton object that inherits from TypedObject.
Stores an integer, and will return it on request.
The skeleton classes are intended to help you learn how to add C++ classes to panda. See also the manual, "Adding C++ Classes to Panda."
Definition at line 27 of file typedSkel.h.
|
inline |
Definition at line 17 of file typedSkel.I.
|
inline |
Definition at line 24 of file typedSkel.I.
|
inlinevirtual |
Implements TypedObject.
Definition at line 55 of file typedSkel.h.
|
inlinestatic |
Definition at line 44 of file typedSkel.h.
|
inlinevirtual |
Implements TypedObject.
Definition at line 52 of file typedSkel.h.
|
inline |
Retreives a value that was previously stored.
Definition at line 39 of file typedSkel.I.
int TypedSkel::get_value_alt | ( | ) |
Retreives a value that was previously stored.
Exact same functionality as get_value, except that this isn't an inline function.
Definition at line 31 of file typedSkel.cxx.
|
inlinestatic |
Definition at line 47 of file typedSkel.h.
|
inline |
Stores an integer value.
Definition at line 31 of file typedSkel.I.
void TypedSkel::set_value_alt | ( | int | n | ) |
Stores an integer value.
Exact same functionality as set_value, except that this isn't an inline function.
Definition at line 22 of file typedSkel.cxx.