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