Panda3D
Public Member Functions | Static Public Member Functions | Public Attributes
TypedWritableReferenceCount Class Reference

A base class for things which need to inherit from both TypedWritable and from ReferenceCount. More...

#include "typedWritableReferenceCount.h"

Inheritance diagram for TypedWritableReferenceCount:
TypedWritable ReferenceCount TypedObject MemoryBase MemoryBase AnimGroup BamCacheRecord CachedTypedWritableReferenceCount CFCommand CollisionEntry EventStoreValueBase GeomVertexArrayFormat GeomVertexFormat GraphicsOutputBase GraphicsStateGuardianBase InternalName Lens Material MouseWatcherRegion MovieAudio MovieAudioCursor MovieVideo MovieVideoCursor PartGroup PGMouseWatcherParameter RenderAttrib RenderEffect RenderEffects ShaderInput SliderTable Texture TextureStage TransformTable VertexSlider VertexTransform WindowFramework

List of all members.

Public Member Functions

 TypedWritableReferenceCount (const TypedWritableReferenceCount &copy)
virtual ReferenceCountas_reference_count ()
 Returns the pointer cast to a ReferenceCount pointer, if it is in fact of that type.
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
void operator= (const TypedWritableReferenceCount &copy)

Static Public Member Functions

static TypeHandle get_class_type ()
static void init_type ()
static PT (TypedWritableReferenceCount) decode_from_bam_stream(const string &data

Public Attributes

static BamReaderreader = NULL)

Detailed Description

A base class for things which need to inherit from both TypedWritable and from ReferenceCount.

It's convenient to define this intermediate base class instead of multiply inheriting from the two classes each time they are needed, so that we can sensibly pass around pointers to things which are both TypedWritables and ReferenceCounters.

See also TypedObject for detailed instructions.

Definition at line 35 of file typedWritableReferenceCount.h.


Member Function Documentation

Returns the pointer cast to a ReferenceCount pointer, if it is in fact of that type.

Reimplemented from TypedWritable.

Definition at line 26 of file typedWritableReferenceCount.cxx.


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