CopyOnWriteObject

class CopyOnWriteObject

Bases: CachedTypedWritableReferenceCount

This base class provides basic reference counting, but also can be used with a CopyOnWritePointer to provide get_read_pointer() and get_write_pointer().

Inheritance diagram

Inheritance diagram of CopyOnWriteObject

void cache_ref(void) const

See CachedTypedWritableReferenceCount::cache_ref().

bool cache_unref(void) const

See CachedTypedWritableReferenceCount::cache_unref().

static TypeHandle get_class_type(void)