3 #ifndef GEODE_SHAREDBASE_H_ 4 #define GEODE_SHAREDBASE_H_ 25 #include "geode_globals.hpp" 46 void preserveSB()
const;
52 void releaseSB()
const;
55 inline int32_t
refCount() {
return m_refCount; }
63 mutable volatile int32_t m_refCount;
89 #define NULLPTR ::apache::geode::client::NullSharedBase::s_instancePtr 91 #endif // GEODE_SHAREDBASE_H_ Each enum represents a predefined RegionAttributes in a Cache.
Definition: Assert.hpp:31
int32_t refCount()
Definition: SharedBase.hpp:55
#define CPPCACHE_EXPORT
Defines a Geode CPPCACHE export.
Definition: geode_base.hpp:58
Class encapsulating a NULL SharedBase smart pointer.
Definition: SharedBase.hpp:73
This abstract base class is the base class of all user objects that have the shared capability of ref...
Definition: SharedBase.hpp:40
SharedBase()
Constructor.
Definition: SharedBase.hpp:43
This namespace contains all the Geode C++ API classes, enumerations and globals.