StatisticSourceWithAutoRegisterMember (interface)

The StatisticSourceWithAutoRegisterMember interface is a simplified interface for supporting the StatisticSource interface while delegating most implementation details to a member of type StatisticsAutoRegisterMember. The StatisticsAutoRegisterMember member then manages the registration and unregistration, and the storage of the private key.

An object implementing the StatisticSourceWithAutoRegisterMember (interface) interface must have a StatisticsAutoRegisterMember member, and must construct it in its constructor if FabricStatisticsEnabled (passing this as construction argument). The object then only needs to implement the StatisticSourceWithAutoRegisterMember simplified interface.

Important: for a good behavior, the StatisticsAutoRegisterMember member should not be cloned, which requires a custom implementation of .clone() by owner objects.

See 統計(Statistics) for an example of usage.

StatisticSourceWithAutoRegisterMember StatisticSourceWithAutoRegisterMember StatisticSourceWithAutoRegisterMember BaseAttribute BaseAttribute BaseAttribute->StatisticSourceWithAutoRegisterMember ColorAttribute ColorAttribute ColorAttribute->BaseAttribute IntegerAttribute IntegerAttribute IntegerAttribute->BaseAttribute Mat33Attribute Mat33Attribute Mat33Attribute->BaseAttribute Mat44Attribute Mat44Attribute Mat44Attribute->BaseAttribute QuatAttribute QuatAttribute QuatAttribute->BaseAttribute RGBAAttribute RGBAAttribute RGBAAttribute->BaseAttribute RGBAttribute RGBAttribute RGBAttribute->BaseAttribute ScalarAttribute ScalarAttribute ScalarAttribute->BaseAttribute ScalarConstantArrayAttribute ScalarConstantArrayAttribute ScalarConstantArrayAttribute->BaseAttribute SkinningAttribute SkinningAttribute SkinningAttribute->BaseAttribute UInt16ConstantArrayAttribute UInt16ConstantArrayAttribute UInt16ConstantArrayAttribute->BaseAttribute UInt32Attribute UInt32Attribute UInt32Attribute->BaseAttribute Vec2Attribute Vec2Attribute Vec2Attribute->BaseAttribute Vec3Attribute Vec3Attribute Vec3Attribute->BaseAttribute Vec3_dAttribute Vec3_dAttribute Vec3_dAttribute->BaseAttribute Vec4Attribute Vec4Attribute Vec4Attribute->BaseAttribute BaseGeometry BaseGeometry BaseGeometry->StatisticSourceWithAutoRegisterMember Curves Curves Curves->BaseGeometry DrawElements DrawElements DrawElements->BaseGeometry Lines Lines Lines->BaseGeometry Points Points Points->BaseGeometry PolygonMesh PolygonMesh PolygonMesh->BaseGeometry GeometryAttributes GeometryAttributes GeometryAttributes->StatisticSourceWithAutoRegisterMember GeometryInstancesSpatialQueries GeometryInstancesSpatialQueries GeometryInstancesSpatialQueries->StatisticSourceWithAutoRegisterMember Image2D Image2D Image2D->StatisticSourceWithAutoRegisterMember Image2DColor Image2DColor Image2DColor->Image2D Image2DRGB Image2DRGB Image2DRGB->Image2D Image2DRGBA Image2DRGBA Image2DRGBA->Image2D Image2DScalar Image2DScalar Image2DScalar->Image2D OGLBaseObject OGLBaseObject OGLBaseObject->StatisticSourceWithAutoRegisterMember OGLBuffer_ OGLBuffer_ OGLBuffer_->OGLBaseObject OGLFramebuffer OGLFramebuffer OGLFramebuffer->OGLBaseObject OGLProgram OGLProgram OGLProgram->OGLBaseObject OGLRenderbuffer OGLRenderbuffer OGLRenderbuffer->OGLBaseObject OGLShader_ OGLShader_ OGLShader_->OGLBaseObject OGLTexture OGLTexture OGLTexture->OGLBaseObject OGLVertexArray OGLVertexArray OGLVertexArray->OGLBaseObject OGLViewport OGLViewport OGLViewport->OGLBaseObject OGLBuffer OGLBuffer OGLBuffer->StatisticSourceWithAutoRegisterMember OGLProgramParamValues OGLProgramParamValues OGLProgramParamValues->StatisticSourceWithAutoRegisterMember OGLTexture2D OGLTexture2D OGLTexture2D->StatisticSourceWithAutoRegisterMember Octree Octree Octree->StatisticSourceWithAutoRegisterMember SparseGrid SparseGrid SparseGrid->StatisticSourceWithAutoRegisterMember

Functions

StatisticRecord[] getStatistics ? ()

Functions in detail

StatisticRecord[] StatisticSourceWithAutoRegisterMember.getStatistics? ()

Returns statistics related to this object. The Name should be included, but the Type will be automatically generated.