Face Engine SDK
5.25.0
A face detection, recognition and tracking engine.
|
Base strong reference counted object interface. More...
#include <IRefCounted.h>
Public Member Functions | |
virtual int32_t | retain () noexcept=0 |
Increase strong reference count. More... | |
virtual int32_t | retainLocked () noexcept=0 |
Increase strong reference count thread safely. More... | |
virtual int32_t | release () noexcept=0 |
Decrease strong reference count. More... | |
virtual int32_t | getRefCount () const noexcept=0 |
Get actual strong reference count. More... | |
virtual int32_t | retainWeak () noexcept=0 |
Increase weak reference count. More... | |
virtual int32_t | releaseWeak () noexcept=0 |
Decrease weak reference count. More... | |
virtual int32_t | getWeakRefCount () const noexcept=0 |
Get actual weak reference count. More... | |
Base strong reference counted object interface.
Implements common reference counting routines to control object life time.
Use retain() to notify the object you are going to use it, thus sharing it's ownership. Use release() to release object reference when it is no longer needed. Use getRefCount() to obtain current reference count of the object.
All objects are created with initial strong reference count of 1 and weak reference count of 1.
When object reference count drops to 0, it's destroyed and deallocated automatically.
All functions of this interface have thread safe implementations in SDK classes.
|
pure virtualnoexcept |
Get actual strong reference count.
|
pure virtualnoexcept |
Get actual weak reference count.
|
pure virtualnoexcept |
Decrease strong reference count.
|
pure virtualnoexcept |
Decrease weak reference count.
|
pure virtualnoexcept |
Increase strong reference count.
|
pure virtualnoexcept |
Increase strong reference count thread safely.
|
pure virtualnoexcept |
Increase weak reference count.