Panda3D
Public Member Functions | Static Public Member Functions

EventStoreTypedRefCount Class Reference

A class object for storing specifically objects of type TypedReferenceCount, which is different than TypedWritableReferenceCount. More...

#include "eventParameter.h"

Inheritance diagram for EventStoreTypedRefCount:
EventStoreValueBase TypedWritableReferenceCount TypedWritable ReferenceCount TypedObject MemoryBase MemoryBase

List of all members.

Public Member Functions

 EventStoreTypedRefCount (const TypedReferenceCount *value)
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
TypedReferenceCountget_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 ()

Detailed Description

A class object for storing specifically objects of type TypedReferenceCount, which is different than TypedWritableReferenceCount.

Definition at line 118 of file eventParameter.h.


Member Function Documentation

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.


The documentation for this class was generated from the following files:
 All Classes Functions Variables Enumerations