FLImaging 6.5.16.1
BackendBase.h
1#pragma once
2
3#if _MSC_VER >= 1900 && defined(_M_X64)
4
5#include "DefinitionsAI.h"
6
7namespace FLImaging
8{
9 namespace AI
10 {
11 template <typename T>
12 class CComputationalGraphUtilities;
13
14 template <typename T>
15 class FL_EXPORT CBackendBase : public CAlgorithmAIBase
16 {
17
18 public:
19 CBackendBase();
20 virtual ~CBackendBase();
21
22 virtual const CResult SetDeviceIndex(int32_t i32DeviceIndex);
23 virtual int32_t GetDeviceIndex() const;
24
25 virtual const CResult Clear();
26 DeclareGetClassType();
27 SupportToDuplicateAbstractObject(CBackendBase<T>);
28
29 protected:
30 virtual void Throw(const CResult& res, const wchar_t* pWcsExtraMessage = nullptr) const override;
31 protected:
32 int32_t m_i32DeviceIndex;
33
34 protected:
35 template <typename T>
36 friend class CComputationalGraphUtilities;
37 };
38 }
39}
40
41#endif
@ Clear
Clear all the figure objects.