Panda3D
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties
Public Member Functions
PointerToVoid Class Reference

This is the non-template part of the base class for PointerTo and ConstPointerTo. More...

Inheritance diagram for PointerToVoid:
char int PointerToBaseConnection PointerToBaseReferenceCountedVectordouble PointerToBaseReferenceCountedVectorfloat PointerToBaseReferenceCountedVectorint PointerToBaseReferenceCountedVectorMat3 PointerToBaseReferenceCountedVectorMat3D PointerToBaseReferenceCountedVectorUnalignedLMatrix4d PointerToBaseReferenceCountedVectorUnalignedLMatrix4f PointerToBaseReferenceCountedVectorUnalignedLVecBase4d PointerToBaseReferenceCountedVectorUnalignedLVecBase4f PointerToBaseReferenceCountedVectorVBase2 PointerToBaseReferenceCountedVectorVBase2D PointerToBaseReferenceCountedVectorVBase3 PointerToBaseReferenceCountedVectorVBase3D WeakPointerToVoid

List of all members.

Public Member Functions

unsigned int getHash ()
bool isNull ()
 Returns true if the PointerTo is a NULL pointer, false otherwise.

Detailed Description

This is the non-template part of the base class for PointerTo and ConstPointerTo.

It is necessary so we can keep a pointer to a non-template class within the ReferenceCount object, to implement weak reference pointers--we need to have something to clean up when the ReferenceCount object destructs.

This is the base class for PointerToBase<T>.


Member Function Documentation

unsigned int getHash ( )
bool isNull ( )

Returns true if the PointerTo is a NULL pointer, false otherwise.

(Direct comparison to a NULL pointer also works.)

Reimplemented in PointerToConnection.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties