16#include "DefinitionsBase.h"
24 class CFLBaseInternal;
25 class CProcessingUnitBase;
26 class CBroadcastMessage;
37 SupportToDuplicateAbstractObject(
CFLBase);
458 virtual void Throw(
const CResult& res,
const wchar_t* pWcsExtraMessage =
nullptr)
const;
473 virtual void Throw(
const std::exception& res,
const wchar_t* pWcsExtraMessage)
const;
477 virtual size_t GetHandle()
const;
478 virtual void SetHandle(
size_t stHandle);
480 virtual size_t GetHandleType()
const;
481 virtual void SetHandleType(
size_t stHandleType);
487 volatile CFLBaseInternal* m_pInternal;
Broadcast message class.
Definition BroadcastMessage.h:27
Top-level base class of FLImaging.
Definition FLBase.h:36
virtual uint32_t GetClassHash() const
Returns the class hash value of the actual instance. For the same class, even if the instance is diff...
const CResult ShareSynchronizationObject(const CFLBase *pSrcObject) const
Share synchronization object of original object.
bool IsSharedSynchronizationObject() const
Is shared synchronization object.
void GenerateMaxInt31(T &tValue) const
Generate maximum signed 31-bit integer value.
virtual void ResetProcessingUnit()
Rest the ProcessingUnit.
void GenerateMin(T *pTValue) const
Generate the minimum value of that type.
const char * GetClassNameWithoutNamespace() const
Returns the class name that does not include the namespace of the actual instance.
virtual bool IsLicenseAvailable() const
Returns whether the algorithm can be used with the current license.
void Unlock() const
Unlock the object.
void GenerateMaxInt31(T *pTValue) const
Generate maximum signed 31-bit integer value.
virtual const CProcessingUnitBase * GetProcessingUnit() const
Returns the set ProcessingUnit.
void Lock() const
Set a lock on an object.
bool IsValid(T &tValue) const
Validate input values.
virtual void Throw(const std::exception &res, const wchar_t *pWcsExtraMessage) const
Raise an exception. Information and error codes of the object that occurred are recorded in the log.
void GenerateMaxInt32(T *pTValue) const
Generate maximum signed 32-bit integer value.
void GenerateInvalid(T *pTValue) const
Generate invalid value.
void GenerateMinInt32(T *pTValue) const
Generate minimum signed 32-bit integer value.
void GenerateInvalid(T &tValue) const
Generate invalid value.
virtual const CResult SetProcessingUnit(const CProcessingUnitBase *pPub)
Set the ProcessingUnit.
virtual int64_t GetClassType() const =0
Returns the Type value of Class. The returned value itself has no meaning, but if it is the same type...
virtual void Throw(const CResult &res, const wchar_t *pWcsExtraMessage=nullptr) const
Raise an exception. Information and error codes of the object that occurred are recorded in the log.
virtual void OnReceiveBroadcast(const CBroadcastMessage *pMessage)
Callback function. A function that receives a BroadcastMessage.
const char * GetClassNameWithNamespace() const
Returns the class name including the namespace of the actual instance.
void GenerateMax(T *pTValue) const
Generate the maximum value of that type.
virtual ~CFLBase()
Destructor.
void GenerateMaxInt32(T &tValue) const
Generate maximum signed 32-bit integer value.
void GenerateMinInt31(T &tValue) const
Generate minimum signed 31-bit integer value.
void GenerateMinInt32(T &tValue) const
Generate minimum signed 32-bit integer value.
bool IsValid(T *pTValue) const
Validate input values.
virtual const CResult SetProcessingUnit(const CProcessingUnitBase &pub)
set the ProcessingUnit
bool TryLock() const
Try to lock the object.
void GenerateMin(T &tValue) const
Generate the minimum value of that type.
void GenerateMax(T &tValue) const
Generate the maximum value of that type.
virtual bool IsValid() const
Validate the object.
CFLBase()
Default constructor.
void GenerateMinInt31(T *pTValue) const
Generate minimum signed 31-bit integer value.
Processing unit base class.
Definition ProcessingUnitBase.h:27
FLImaging module execution result object.
Definition ResultsDef.h:1514