15 #ifndef WEAKPOINTERTOVOID_H 16 #define WEAKPOINTERTOVOID_H 18 #include "pandabase.h" 19 #include "pointerToVoid.h" 20 #include "weakPointerCallback.h" 31 INLINE ~WeakPointerToVoid();
34 INLINE
void mark_deleted();
40 INLINE
bool was_deleted()
const;
41 INLINE
bool is_valid_pointer()
const;
44 bool _ptr_was_deleted;
48 #include "weakPointerToVoid.I" This is the specialization of PointerToVoid for weak pointers.
This is the non-template part of the base class for PointerTo and ConstPointerTo. ...
Derive from this class and override the callback() method if you want to get an immediate callback fr...