Face Engine SDK
5.25.0
A face detection, recognition and tracking engine.
|
00001 #pragma once 00002 00009 #include <cstdint> 00010 #include <fsdk/Def.h> 00011 #include <fsdk/IRefCounted.h> 00012 #include <fsdk/Types.h> 00013 00014 namespace fsdk { 00015 00016 #ifndef DOXYGEN_SHOULD_SKIP_THIS 00017 DECLARE_SMARTPTR(IAsyncContext); 00018 #endif 00019 00024 struct IAsyncContext : IRefCounted { 00029 virtual int8_t threads() const noexcept = 0; 00030 00035 virtual bool valid() const noexcept = 0; 00036 00041 virtual bool clearTaskQueue() noexcept = 0; 00042 00048 virtual bool resize(const int8_t newThreadCount) noexcept = 0; 00049 00055 virtual bool stop() noexcept = 0; 00056 }; 00057 00058 } // namespace fsdk