14 #ifndef COPYONWRITEPOINTER_H 15 #define COPYONWRITEPOINTER_H 54 #endif // COW_THREADED 58 INLINE
bool is_null()
const;
61 INLINE
bool test_ref_count_integrity()
const;
62 INLINE
bool test_ref_count_nonzero()
const;
87 INLINE
void operator = (To *
object);
97 #endif // COW_THREADED 103 #define COWPT(type) CopyOnWritePointerTo< type > A template wrapper around the above class, mainly to handle the little typecasting niceties.
To * get_write_pointer()
See CopyOnWritePointer::get_write_pointer().
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
To * get_unsafe_pointer()
See CopyOnWritePointer::get_unsafe_pointer().
This base class provides basic reference counting, but also can be used with a CopyOnWritePointer to ...
This safely stores the primary, owned pointer to a CopyOnWriteObject.
A thread; that is, a lightweight process.
This file defines the classes PointerTo and ConstPointerTo (and their abbreviations,...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
const To * get_read_pointer(Thread *current_thread=Thread::get_current_thread()) const
See CopyOnWritePointer::get_read_pointer().
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.