TypedReferenceCount

from panda3d.core import TypedReferenceCount
class TypedReferenceCount

Bases: TypedObject, ReferenceCount

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.

Inheritance diagram

Inheritance diagram of TypedReferenceCount

__init__(*args, **kwargs)
getClassType()

C++ Interface: get_class_type()

get_class_type()

C++ Interface: get_class_type()

upcastToReferenceCount()

C++ Interface: upcast_to_ReferenceCount(const TypedReferenceCount self)

upcast from TypedReferenceCount to ReferenceCount

upcastToTypedObject()

C++ Interface: upcast_to_TypedObject(const TypedReferenceCount self)

upcast from TypedReferenceCount to TypedObject

upcast_to_ReferenceCount()

C++ Interface: upcast_to_ReferenceCount(const TypedReferenceCount self)

upcast from TypedReferenceCount to ReferenceCount

upcast_to_TypedObject()

C++ Interface: upcast_to_TypedObject(const TypedReferenceCount self)

upcast from TypedReferenceCount to TypedObject