VMware GemFire Native C++ Reference  9.2.4
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
apache::geode::client::NullSharedBase Class Reference

Class encapsulating a NULL SharedBase smart pointer. More...

Inherits apache::geode::client::SharedBase.

Public Member Functions

void preserveSB () const
 Atomically increment reference count. More...
 
int32_t refCount ()
 
void releaseSB () const
 Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero. More...
 

Detailed Description

Class encapsulating a NULL SharedBase smart pointer.

This is for passing NULL pointers implicitly to copy constructor of SharedPtr class.

Member Function Documentation

◆ preserveSB()

void apache::geode::client::SharedBase::preserveSB ( ) const
inherited

Atomically increment reference count.

◆ refCount()

int32_t apache::geode::client::SharedBase::refCount ( )
inlineinherited
Returns
the reference count

◆ releaseSB()

void apache::geode::client::SharedBase::releaseSB ( ) const
inherited

Atomically decrement reference count, the SharedBase object is automatically deleted when its reference count goes to zero.


Pivotal GemFire C++ Cache API Documentation