15 #include "CeeCore/Base.h" 16 #include "CeeCore/AtomicCounter.h" 18 #if defined(CEE_ATOMIC_COUNTER_CLASS_EXISTS) && defined(CEE_WORKAROUND_TO_COMPILE_ON_SYSTEMS_WITHOUT_ATOMICS) 19 #error Two mutually exclusive defines detected : CEE_ATOMIC_COUNTER_CLASS_EXISTS && CEE_WORKAROUND_TO_COMPILE_ON_SYSTEMS_WITHOUT_ATOMICS 22 #if !defined(CEE_ATOMIC_COUNTER_CLASS_EXISTS) && !defined(CEE_WORKAROUND_TO_COMPILE_ON_SYSTEMS_WITHOUT_ATOMICS) 23 #error No support for atomics. Define CEE_WORKAROUND_TO_COMPILE_ON_SYSTEMS_WITHOUT_ATOMICS to be able to compile 44 void setRefCountZero()
const;
47 #if defined(CEE_ATOMIC_COUNTER_CLASS_EXISTS) 48 mutable AtomicCounter m_refCount;
49 #elif defined(CEE_WORKAROUND_TO_COMPILE_ON_SYSTEMS_WITHOUT_ATOMICS) 50 mutable int m_refCount;
Namespace cee contains all functionality and structures under the Core component. ...
Definition: AppComponent.cpp:26
Base class for all reference counted objects with built-in support for intrusive reference counting...
Definition: RefCountedObject.h:34