Panda3D
|
This is the base class for ThreadSafePointerTo and ThreadSafeConstPointerTo. More...
#include "threadSafePointerToBase.h"
Public Types | |
typedef T | To |
Public Member Functions | |
void | clear () |
A convenient way to set the ThreadSafePointerTo object to NULL. | |
void | output (std::ostream &out) const |
A handy function to output ThreadSafePointerTo's as a hex pointer followed by a reference count. | |
![]() | |
size_t | get_hash () const |
constexpr bool | is_null () const |
Returns true if the PointerTo is a NULL pointer, false otherwise. | |
bool | operator!= (const PointerToVoid &other) const |
bool | operator< (const PointerToVoid &other) const |
bool | operator< (const void *other) const |
bool | operator== (const PointerToVoid &other) const |
void | swap (PointerToVoid &other) noexcept |
Swaps the contents of this PointerTo with the other, without touching the reference counts. | |
![]() | |
void | operator delete (void *, void *) |
void | operator delete (void *ptr) |
void | operator delete[] (void *, void *) |
void | operator delete[] (void *ptr) |
void * | operator new (size_t size) |
void * | operator new (size_t size, void *ptr) |
void * | operator new[] (size_t size) |
void * | operator new[] (size_t size, void *ptr) |
This is the base class for ThreadSafePointerTo and ThreadSafeConstPointerTo.
Don't try to use it directly; use either derived class instead.
Definition at line 31 of file threadSafePointerToBase.h.
typedef T ThreadSafePointerToBase< T >::To |
Definition at line 33 of file threadSafePointerToBase.h.
|
inline |
A convenient way to set the ThreadSafePointerTo object to NULL.
(Assignment to a NULL pointer also works, of course.)
Definition at line 116 of file threadSafePointerToBase.I.
|
inline |
A handy function to output ThreadSafePointerTo's as a hex pointer followed by a reference count.
Definition at line 126 of file threadSafePointerToBase.I.