| Face Engine SDK 5.2.0 A face detection, recognition and tracking engine.

IRefCounted.h
Go to the documentation of this file.
1
8 #pragma once
9
10 #include <cstdint>
11
12 namespace fsdk {
13
36 struct IRefCounted {
41 virtual int32_t retain() noexcept = 0;
42
47 virtual int32_t release() noexcept = 0;
48
53 virtual int32_t getRefCount() const noexcept = 0;
54
59 virtual int32_t retainWeak() noexcept = 0;
60
65 virtual int32_t releaseWeak() noexcept = 0;
66
71 virtual int32_t getWeakRefCount() const noexcept = 0;
72 };
73 // end of CoreGroup
75 }
fsdk::IRefCounted::retain
virtual int32_t retain() noexcept=0
Increase strong reference count.
fsdk::IRefCounted::retainWeak
virtual int32_t retainWeak() noexcept=0
Increase weak reference count.
fsdk::IRefCounted::releaseWeak
virtual int32_t releaseWeak() noexcept=0
Decrease weak reference count.
fsdk
SDK namespace.
Definition: IAGSEstimator.h:8
fsdk::IRefCounted::getRefCount
virtual int32_t getRefCount() const noexcept=0
Get actual strong reference count.
fsdk::IRefCounted::getWeakRefCount
virtual int32_t getWeakRefCount() const noexcept=0
Get actual weak reference count.
fsdk::IRefCounted::release
virtual int32_t release() noexcept=0
Decrease strong reference count.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:36