| Face Engine SDK 5.34.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
37 struct IRefCounted {
42 virtual int32_t retain() noexcept = 0;
43
48 virtual int32_t retainLocked() noexcept = 0;
49
54 virtual int32_t release() noexcept = 0;
55
60 virtual int32_t getRefCount() const noexcept = 0;
61
66 virtual int32_t retainWeak() noexcept = 0;
67
72 virtual int32_t releaseWeak() noexcept = 0;
73
78 virtual int32_t getWeakRefCount() const noexcept = 0;
79 };
80 // end of CoreGroup
82 } // namespace fsdk
fsdk
SDK namespace.
Definition: IAGSEstimator.h:8
fsdk::IRefCounted::release
virtual int32_t release() noexcept=0
Decrease strong reference count.
fsdk::IRefCounted::retain
virtual int32_t retain() noexcept=0
Increase strong reference count.
fsdk::IRefCounted::releaseWeak
virtual int32_t releaseWeak() noexcept=0
Decrease weak reference count.
fsdk::IRefCounted::retainWeak
virtual int32_t retainWeak() noexcept=0
Increase weak reference count.
fsdk::IRefCounted
Base strong reference counted object interface.
Definition: IRefCounted.h:37
fsdk::IRefCounted::getRefCount
virtual int32_t getRefCount() const noexcept=0
Get actual strong reference count.
fsdk::IRefCounted::retainLocked
virtual int32_t retainLocked() noexcept=0
Increase strong reference count thread safely.
fsdk::IRefCounted::getWeakRefCount
virtual int32_t getWeakRefCount() const noexcept=0
Get actual weak reference count.