14 #ifndef WEAKREFERENCELIST_H 15 #define WEAKREFERENCELIST_H 34 INLINE
void ref()
const;
35 INLINE
bool unref()
const;
36 INLINE
bool was_deleted()
const;
56 static const AtomicAdjust::Integer _alive_offset = (1 << 30);
57 mutable AtomicAdjust::Integer _count;
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
This is an object shared by all the weak pointers that point to the same ReferenceCount object.
Derive from this class and override the callback() method if you want to get an immediate callback fr...
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
PANDA 3D SOFTWARE Copyright (c) Carnegie Mellon University.
A base class for all things that want to be reference-counted.
A fake mutex implementation for single-threaded applications that don't need any synchronization cont...