Panda3D
|
A class object for storing specifically objects of type TypedReferenceCount, which is different than TypedWritableReferenceCount. More...
#include "eventParameter.h"
Public Member Functions | |
EventStoreTypedRefCount (const TypedReferenceCount *value) | |
virtual TypeHandle | force_init_type () |
virtual TypeHandle | get_type () const |
TypedReferenceCount * | get_value () const |
Retrieves the value stored in the parameter. | |
virtual void | output (ostream &out) const |
PT (TypedReferenceCount) _value | |
void | set_value (const TypedReferenceCount *value) |
Changes the value stored in the parameter. | |
Static Public Member Functions | |
static TypeHandle | get_class_type () |
static void | init_type () |
A class object for storing specifically objects of type TypedReferenceCount, which is different than TypedWritableReferenceCount.
Definition at line 118 of file eventParameter.h.
TypedReferenceCount * EventStoreTypedRefCount::get_value | ( | ) | const [inline] |
Retrieves the value stored in the parameter.
Definition at line 343 of file eventParameter.I.
void EventStoreTypedRefCount::set_value | ( | const TypedReferenceCount * | value | ) | [inline] |
Changes the value stored in the parameter.
It is dangerous to do this for a parameter already added to an event, since the parameters may be shared.
Definition at line 332 of file eventParameter.I.