Face Engine SDK 5.25.0
A face detection, recognition and tracking engine.
Loading...
Searching...
No Matches
IRefCounted.h
Go to the documentation of this file.
1
8#pragma once
9
10#include <cstdint>
11
12namespace 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
81 // end of CoreGroup
82} // namespace fsdk
SDK namespace.
Definition IAGSEstimator.h:8
Base strong reference counted object interface.
Definition IRefCounted.h:37
virtual int32_t getRefCount() const noexcept=0
Get actual strong reference count.
virtual int32_t release() noexcept=0
Decrease strong reference count.
virtual int32_t getWeakRefCount() const noexcept=0
Get actual weak reference count.
virtual int32_t retainLocked() noexcept=0
Increase strong reference count thread safely.
virtual int32_t releaseWeak() noexcept=0
Decrease weak reference count.
virtual int32_t retain() noexcept=0
Increase strong reference count.
virtual int32_t retainWeak() noexcept=0
Increase weak reference count.