A base class for things which need to inherit from both TypedWritable and from ReferenceCount. More...
Static Public Member Functions | |
static TypedWritableReferenceCount | decodeFromBamStream (string data, BamReader reader) |
Reads the string created by a previous call to encode_to_bam_stream(), and extracts and returns the single object on that string. | |
static TypedWritableReferenceCount | decodeFromBamStream (string data) |
Reads the string created by a previous call to encode_to_bam_stream(), and extracts and returns the single object on that string. | |
static TypeHandle | getClassType () |
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.
static TypedWritableReferenceCount decodeFromBamStream | ( | string | data, |
BamReader | reader | ||
) | [static] |
Reads the string created by a previous call to encode_to_bam_stream(), and extracts and returns the single object on that string.
Returns NULL on error.
This method is intended to replace decode_raw_from_bam_stream() when you know the stream in question returns an object of type TypedWritableReferenceCount, allowing for easier reference count management. Note that the caller is still responsible for maintaining the reference count on the return value.
static TypedWritableReferenceCount decodeFromBamStream | ( | string | data | ) | [static] |
Reads the string created by a previous call to encode_to_bam_stream(), and extracts and returns the single object on that string.
Returns NULL on error.
This method is intended to replace decode_raw_from_bam_stream() when you know the stream in question returns an object of type TypedWritableReferenceCount, allowing for easier reference count management. Note that the caller is still responsible for maintaining the reference count on the return value.
static TypeHandle getClassType | ( | ) | [static] |
Reimplemented from ReferenceCount.
Reimplemented in PGMouseWatcherBackground, PGMouseWatcherParameter, CachedTypedWritableReferenceCount, BamCacheRecord, MouseWatcherRegion, GeomTextGlyph, DynamicTextPage, VideoTexture, UserVertexTransform, UserVertexSlider, PerspectiveLens, OrthographicLens, MatrixLens, Material, Lens, GeomTristrips, GeomTrifans, GeomTriangles, GeomPoints, GeomLinestrips, GeomLines, Geom, TextureStage, GeomPrimitive, GeomVertexData, SliderTable, TransformBlendTable, TransformTable, GeomVertexArrayData, GeomVertexFormat, GeomVertexArrayFormat, InternalName, PointerEventList, EventStoreTypedRefCount, ParasiteBuffer, GraphicsBuffer, CallbackGraphicsWindow, GraphicsWindow, GraphicsOutputBase, GraphicsOutput, GraphicsStateGuardianBase, GraphicsStateGuardian, CollisionTube, CollisionSegment, CollisionParabola, CollisionLine, CollisionRay, CollisionInvSphere, CollisionSphere, CollisionPolygon, CollisionFloorMesh, CollisionPlane, CollisionEntry, CollisionBox, CollisionSolid, CharacterJointEffect, CharacterJointBundle, JointVertexTransform, VertexSlider, CharacterVertexSlider, CharacterSlider, CharacterJoint, MovingPartACScalarSwitchType, MovingPartScalar, MovingPartACMatrixSwitchType, MovingPartMatrix, MovingPartBase, PartBundle, CopyOnWriteObject, AnimPreloadTable, AnimChannelScalarTable, AnimChannelScalarDynamic, AnimChannelMatrixXfmTable, AnimChannelMatrixDynamic, AnimChannelScalar, AnimChannelMatrix, AnimChannelBase, PartGroup, AnimBundle, AnimGroup, VertexTransform, NodeVertexTransform, Texture, MovieTexture, UserDataAudioCursor, UserDataAudio, MicrophoneAudio, InkblotVideoCursor, InkblotVideo, FfmpegVideoCursor, FfmpegVideo, MovieVideoCursor, MovieVideo, FfmpegAudioCursor, FfmpegAudio, MovieAudioCursor, MovieAudio, StencilAttrib, ShadeModelAttrib, ScissorAttrib, RescaleNormalAttrib, ScissorEffect, TexProjectorEffect, ShowBoundsEffect, ShaderAttrib, ShaderInput, PolylightEffect, OccluderEffect, TexGenAttrib, TextureAttrib, MaterialAttrib, LightRampAttrib, LightAttrib, FogAttrib, EventStoreValueBase, EventStorePandaNode, DepthWriteAttrib, DepthTestAttrib, DepthOffsetAttrib, DecalEffect, CullFaceAttrib, CullBinAttrib, CompassEffect, ColorWriteAttrib, ColorScaleAttrib, ColorBlendAttrib, ColorAttrib, ClipPlaneAttrib, BillboardEffect, AuxBitplaneAttrib, AudioVolumeAttrib, TransparencyAttrib, RenderEffects, RenderEffect, AntialiasAttrib, AlphaTestAttrib, RenderState, TexMatrixAttrib, RenderModeAttrib, RenderAttrib, NodeCachedReferenceCount, and TransformState.