PointerToVoid

from panda3d.core import PointerToVoid
class PointerToVoid

Bases: DTOOL_SUPER_BASE

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>.

Inheritance diagram

Inheritance diagram of PointerToVoid

__init__(*args, **kwargs)
getHash()

C++ Interface: get_hash(PointerToVoid self)

/**

*/

get_hash()

C++ Interface: get_hash(PointerToVoid self)

/**

*/

isNull()

C++ Interface: is_null(PointerToVoid self)

/**
  • Returns true if the PointerTo is a NULL pointer, false otherwise. (Direct

  • comparison to a NULL pointer also works.)

*/

is_null()

C++ Interface: is_null(PointerToVoid self)

/**
  • Returns true if the PointerTo is a NULL pointer, false otherwise. (Direct

  • comparison to a NULL pointer also works.)

*/