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

This is the specialization of PointerToVoid for weak pointers. More...

Inheritance diagram for WeakPointerToVoid:
PointerToVoid

List of all members.

Public Member Functions

bool isValidPointer ()
 Returns true if the pointer is not null and the object has not been deleted.
bool wasDeleted ()
 Returns true if the object we are pointing to has been deleted, false otherwise.

Detailed Description

This is the specialization of PointerToVoid for weak pointers.

It needs an additional flag to indicate that the pointer has been deleted.


Member Function Documentation

bool isValidPointer ( )

Returns true if the pointer is not null and the object has not been deleted.

bool wasDeleted ( )

Returns true if the object we are pointing to has been deleted, false otherwise.

 All Classes Namespaces Functions Variables Enumerations Enumerator Properties