Panda3D
Public Member Functions | Static Public Member Functions
TypedReferenceCount Class Reference

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

#include "typedReferenceCount.h"

Inheritance diagram for TypedReferenceCount:
TypedObject ReferenceCount MemoryBase MemoryBase AnimControl AssimpLoader AsyncTaskBase AsyncTaskChain AsyncTaskManager AudioManager AudioSound AuxSceneData AwWebCore AwWebView AwWebViewListener BamReaderAuxData BaseForce BoundingVolume BulletConstraint BulletShape BulletTriangleMesh BulletVehicle BulletWorld CallbackObject CInterval ClientBase ClientDevice CMotionTrail CollisionHandler ColorInterpolationFunction CullBin CullTraverser DaeCharacter DaeMaterials DisplayRegionBase EggObject EggUserData Event FactoryParam FileReference FilterProperties FltRecord GeomMunger GraphicsDevice GraphicsPipe IffChunk LerpBlendType Loader MovieVideoCursor::Buffer OdeCollisionEntry OdeContact OdeContactGeom OdeMass OdeTriMeshData Physical PhysicsObject PhysxContactPair PhysxObject QueryContext RecorderController SceneSetup Shader STTerrain STTree TextFont Thread VirtualFile VirtualFileMount WindowHandle WindowHandle::OSHandle

List of all members.

Public Member Functions

 TypedReferenceCount (const TypedReferenceCount &copy)
virtual TypeHandle force_init_type ()
virtual TypeHandle get_type () const
void operator= (const TypedReferenceCount &copy)

Static Public Member Functions

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.

Detailed Description

A base class for things which need to inherit from both TypedObject 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 TypedObjects and ReferenceCounters.

See also TypedObject for detailed instructions.

Definition at line 35 of file typedReferenceCount.h.


Member Function Documentation

static void TypedReferenceCount::init_type ( ) [inline, static]

This function is declared non-inline to work around a compiler bug in g++ 2.96.

Making it inline seems to cause problems in the optimizer.

Reimplemented from TypedObject.

Reimplemented in Shader, EggGroup, EggTexture, FltHeader, EggBinMaker, PhysxScene, DisplayRegion, FltTexture, EggGroupNode, BulletWorld, ColorInterpolationFunctionSinusoid, AudioManager, PhysxActor, PhysxSoftBody, CMetaInterval, BoundingVolume, NativeWindowHandle, CInterval, ColorInterpolationFunctionStepwave, VirtualFileMountRamdisk, ParticleSystem, GeomMunger, CMotionTrail, EggVertexPool, AudioSound, NoBlendType, GraphicsPipe, PipeOcclusionCullTraverser, CLerpNodePathInterval, EggNode, CullTraverser, OdeTriMeshData, FltGeometry, PhysicsObject, ColorInterpolationFunctionLinear, eglGraphicsPipe, EaseInOutBlendType, EggNameUniquifier, Physical, PhysxCloth, PhysxWheelShape, RecorderController, FltRecord, AwWebView, BulletVehicle, VirtualFile, EggJointData, AwWebViewListener, CullBin, WindowHandle, VirtualFileMount, wdxGraphicsPipe8, wdxGraphicsPipe9, glxGraphicsPipe, PhysxMaterial, EggXfmSAnim, BoundingHexahedron, VrpnClient, ClientBase, BoundingBox, x11GraphicsPipe, PhysxController, CollisionHandlerEvent, EggMaterial, PhysxShape, EaseOutBlendType, VirtualFileSimple, DaeMaterials, EggData, SceneSetup, CollisionHandlerPhysical, UnionBoundingVolume, BoundingSphere, MovieVideoCursor::Buffer, ClientButtonDevice, ColorInterpolationFunctionConstant, BulletSliderConstraint, IntersectionBoundingVolume, EggSwitchConditionDistance, OdeMass, EggVertexUV, WindowHandle::OSHandle, PhysxJoint, NullAudioSound, CollisionHandlerGravity, FltBead, StereoDisplayRegion, FltVertex, NullAudioManager, AwWebCore, BoundingLine, PhysxForceFieldShapeGroup, PhysxPlaneShape, FilterProperties, EggXfmAnimData, PhysxForceField, BamReaderAuxData, LwoPolygons, PhysxHeightField, BulletHingeConstraint, EggComponentData, EggPolysetMaker, PhysxCapsuleShape, VirtualFileMountSystem, CullBinStateSorted, Event, BoundingPlane, PhysxRevoluteJoint, CullBinFixed, FltLightSourceDefinition, ClientDevice, GeometricBoundingVolume, OmniBoundingVolume, PhysxForceFieldShape, BulletTriangleMesh, CullBinBackToFront, CullBinFrontToBack, IPhoneGraphicsPipe, PhysxCapsuleController, RocketRegion, EggAnimData, OdeContactGeom, PhysxObject, PhysxSphereShape, BulletConeTwistConstraint, ClientAnalogDevice, StandardMunger, PhysxVehicle, FltTransformPut, VirtualFileMountMultifile, PhysxBoxShape, FltLocalVertexPool, BulletSphericalConstraint, ClientDialDevice, DXGeomMunger8, DXGeomMunger9, LinearDistanceForce, CLerpAnimEffectInterval, LinearForce, EaseInBlendType, FltExternalReference, BulletGenericConstraint, EggTable, VirtualFileComposite, LinearCylinderVortexForce, VrpnTrackerDevice, FltMaterial, PhysxHeightFieldShape, PhysxSphericalJoint, FltTransformRotateScale, LinearNoiseForce, PhysicsCollisionHandler, PhysxContactPair, PhysxD6Joint, wglGraphicsPipe, EggFilenameNode, OsMesaGraphicsPipe, PhysxPulleyJoint, FltCurve, CollisionHandlerFloor, OdeCollisionEntry, PhysxCapsuleForceFieldShape, FltMeshPrimitive, CollisionHandlerQueue, EggObject, osxGraphicsPipe, AuxSceneData, BaseForce, LinearControlForce, PhysxPointInPlaneJoint, BulletTriangleMeshShape, OdeContact, PhysxConvexMesh, PhysxPointOnLineJoint, PhysxWheel, FltVertexList, LwoLayer, BulletShape, PhysxSphereForceFieldShape, CLerpInterval, FltObject, IffChunk, LwoDiscontinuousVertexMap, EggComment, PhysxBoxForceFieldShape, PhysxClothMesh, PhysxSoftBodyMesh, PhysxTriangleMesh, WritableParam, EggOptcharUserData, FltGroup, FltLOD, FltTransformRotateAboutEdge, FltTransformRotateAboutPoint, LwoSurfaceBlockOpacity, LwoTags, BulletBoxShape, BulletPlaneShape, CullBinUnsorted, EggVertexAux, PhysxCylindricalJoint, PhysxPrismaticJoint, DaeCharacter, FltInstanceRef, FltTransformScale, LwoVertexMap, BulletConvexHullShape, BulletHeightfieldShape, EggAnimPreload, LinearVectorForce, PhysxDistanceJoint, PhysxFixedJoint, CConstrainPosHprInterval, FltBeadID, BulletMultiSphereShape, BulletSphereShape, CollisionHandlerHighestEvent, GraphicsDevice, LinearUserDefinedForce, PhysxConvexShape, PhysxTriangleMeshShape, TinyOffscreenGraphicsPipe, FltTransformTranslate, LwoGroupChunk, LwoSurfaceBlockProjection, BulletConstraint, BulletConvexPointCloudShape, BulletCylinderShape, PhysxBoxController, PhysxConvexForceFieldShape, FltVectorRecord, IffGenericChunk, LwoPolygonTags, CollisionHandlerPusher, EggCoordinateSystem, BamReaderParam, WinGraphicsPipe, CConstrainHprInterval, FltMesh, LwoHeader, BulletCapsuleShape, BulletConeShape, CollisionHandler, QueryContext, CConstrainPosInterval, FltInstanceDefinition, FltUnsupportedRecord, LwoPoints, LwoSurfaceBlockAxis, BulletSoftBodyShape, AngularVectorForce, FactoryParam, LwoSurfaceBlockCoordSys, LwoSurfaceBlockTransform, LwoSurfaceBlockWrap, LwoSurfaceSidedness, FiniteBoundingVolume, LinearRandomForce, CallbackObject, TinyGeomMunger, VrpnAnalogDevice, VrpnButtonDevice, VrpnDialDevice, CConstrainTransformInterval, FltTransformRecord, EggBin, EggSAnimData, FltTransformGeneralMatrix, LwoSurface, LwoSurfaceBlockRepeat, EggSwitchCondition, EggUserData, StateMunger, AngularForce, LinearFrictionForce, EggSliderData, LwoBoundingBox, LwoSurfaceColor, EggGroupUniquifier, EggNamedObject, ColorInterpolationFunction, FadeLODNodeData, LwoClip, LwoSurfaceParameter, DXOcclusionQueryContext9, CPointerCallbackObject, LwoStillImage, LwoSurfaceBlockChannel, LwoSurfaceBlockEnabled, LwoSurfaceBlockHeader, LwoSurfaceBlockImage, CollisionHandlerFluidPusher, ClientTrackerDevice, PGCullTraverser, LinearSinkForce, LinearSourceForce, FltFace, LwoSurfaceBlockRefObj, LwoSurfaceBlockVMapName, LwoSurfaceSmoothingAngle, EggExternalReference, LinearJitterForce, FileReference, DisplayRegionBase, HideInterval, ShowInterval, LwoChunk, LwoSurfaceBlockTMap, EggPoolUniquifier, MayaEggGroupUserData, SoftEggGroupUserData, TemporaryFile, OcclusionQueryContext, CConstraintInterval, WaitInterval, and LerpBlendType.

Definition at line 53 of file typedReferenceCount.h.

References TypedObject::init_type().

Referenced by LerpBlendType::init_type(), DisplayRegionBase::init_type(), FileReference::init_type(), EggUserData::init_type(), CallbackObject::init_type(), FactoryParam::init_type(), CollisionHandler::init_type(), QueryContext::init_type(), BulletConstraint::init_type(), GraphicsDevice::init_type(), BulletShape::init_type(), OdeContact::init_type(), AuxSceneData::init_type(), BaseForce::init_type(), EggObject::init_type(), OdeCollisionEntry::init_type(), PhysxContactPoint::init_type(), PhysxContactPair::init_type(), EaseInBlendType::init_type(), OdeContactGeom::init_type(), PhysxObject::init_type(), BulletTriangleMesh::init_type(), ClientDevice::init_type(), Event::init_type(), FilterProperties::init_type(), BamReaderAuxData::init_type(), AwWebCore::init_type(), WindowHandle::OSHandle::init_type(), OdeMass::init_type(), MovieVideoCursor::Buffer::init_type(), SceneSetup::init_type(), EaseOutBlendType::init_type(), ClientBase::init_type(), WindowHandle::init_type(), VirtualFileMount::init_type(), AwWebViewListener::init_type(), CullBin::init_type(), VirtualFile::init_type(), AwWebView::init_type(), BulletVehicle::init_type(), RecorderController::init_type(), Physical::init_type(), EaseInOutBlendType::init_type(), PhysicsObject::init_type(), OdeTriMeshData::init_type(), CullTraverser::init_type(), GraphicsPipe::init_type(), NoBlendType::init_type(), CMotionTrail::init_type(), GeomMunger::init_type(), CInterval::init_type(), BoundingVolume::init_type(), BulletWorld::init_type(), and Shader::init_type().


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