|
virtual | ~CLog () |
|
| CFLBase () |
| Default constructor.
|
|
virtual | ~CFLBase () |
| Destructor.
|
|
void | Lock () const |
| Set a lock on an object.
|
|
bool | TryLock () const |
| Try to lock the object.
|
|
void | Unlock () const |
| Unlock the object.
|
|
virtual const CProcessingUnitBase * | GetProcessingUnit () const |
| Returns the set ProcessingUnit.
|
|
virtual const CResult | SetProcessingUnit (const CProcessingUnitBase &pub) |
| set the ProcessingUnit
|
|
virtual const CResult | SetProcessingUnit (const CProcessingUnitBase *pPub) |
| Set the ProcessingUnit.
|
|
virtual void | ResetProcessingUnit () |
| Rest the ProcessingUnit.
|
|
virtual bool | IsValid () const |
| Validate the object.
|
|
template<class T > |
bool | IsValid (T &tValue) const |
| Validate input values.
|
|
template<class T > |
bool | IsValid (T *pTValue) const |
| Validate input values.
|
|
template<class T > |
void | GenerateMin (T &tValue) const |
| Generate the minimum value of that type.
|
|
template<class T > |
void | GenerateMin (T *pTValue) const |
| Generate the minimum value of that type.
|
|
template<class T > |
void | GenerateMinInt32 (T &tValue) const |
| Generate minimum signed 32-bit integer value.
|
|
template<class T > |
void | GenerateMinInt32 (T *pTValue) const |
| Generate minimum signed 32-bit integer value.
|
|
template<class T > |
void | GenerateMinInt31 (T &tValue) const |
| Generate minimum signed 31-bit integer value.
|
|
template<class T > |
void | GenerateMinInt31 (T *pTValue) const |
| Generate minimum signed 31-bit integer value.
|
|
template<class T > |
void | GenerateMax (T &tValue) const |
| Generate the maximum value of that type.
|
|
template<class T > |
void | GenerateMax (T *pTValue) const |
| Generate the maximum value of that type.
|
|
template<class T > |
void | GenerateMaxInt32 (T &tValue) const |
| Generate maximum signed 32-bit integer value.
|
|
template<class T > |
void | GenerateMaxInt32 (T *pTValue) const |
| Generate maximum signed 32-bit integer value.
|
|
template<class T > |
void | GenerateMaxInt31 (T &tValue) const |
| Generate maximum signed 31-bit integer value.
|
|
template<class T > |
void | GenerateMaxInt31 (T *pTValue) const |
| Generate maximum signed 31-bit integer value.
|
|
template<class T > |
void | GenerateInvalid (T &tValue) const |
| Generate invalid value.
|
|
template<class T > |
void | GenerateInvalid (T *pTValue) const |
| Generate invalid value.
|
|
virtual void | OnReceiveBroadcast (const CBroadcastMessage *pMessage) |
| Callback function. A function that receives a BroadcastMessage.
|
|
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 of class, the same value will be displayed, so comparison is possible.
|
|
const char * | GetClassNameWithNamespace () const |
| Returns the class name including the namespace of the actual instance.
|
|
const char * | GetClassNameWithoutNamespace () const |
| Returns the class name that does not include the namespace of the actual instance.
|
|
virtual uint32_t | GetClassHash () const |
| Returns the class hash value of the actual instance. For the same class, even if the instance is different, it has the same value.
|
|
virtual bool | IsLicenseAvailable () const |
| Returns whether the algorithm can be used with the current license.
|
|
const CResult | ShareSynchronizationObject (const CFLBase *pSrcObject) const |
| Share synchronization object of original object.
|
|
bool | IsSharedSynchronizationObject () const |
| Is shared synchronization object.
|
|
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 | 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.
|
|
|
static const CResult | Initialize () |
| Initialize.
|
|
static bool | IsInitialized () |
| Get initialization status.
|
|
static const CResult | Terminate () |
| Terminate the log system. After explicitly calling the function, the log recording function will no longer perform implicit initialization.
|
|
static const CResult __stdcall | Write (const char *pszFormat,...) |
| Write log.
|
|
static const CResult __stdcall | Write (const wchar_t *pWcsFormat,...) |
| Write log.
|
|
static const CResult __stdcall | WriteWithColor (uint32_t u32Color, const char *pszFormat,...) |
| Write log with specified color.
|
|
static const CResult __stdcall | WriteWithColor (uint32_t u32Color, const wchar_t *pWcsFormat,...) |
| Write log with specified color.
|
|
static const CResult __stdcall | WriteByCategory (const char *pszCategory, const char *pszFormat,...) |
| Write log by specified categories.
|
|
static const CResult __stdcall | WriteByCategory (const wchar_t *pWcsCategory, const wchar_t *pWcsFormat,...) |
| Write log by specified categories.
|
|
static const CResult __stdcall | WriteWithColorByCategory (const char *pszCategory, uint32_t u32Color, const char *pszFormat,...) |
| Write log with specified color and category.
|
|
static const CResult __stdcall | WriteWithColorByCategory (const wchar_t *pWcsCategory, uint32_t u32Color, const wchar_t *pWcsFormat,...) |
| Write log with specified color and category.
|
|
static const CResult | SetLogBufferSize (int64_t i64BufferSize=65536) |
| Set the size of the buffer to create when writing a log.
|
|
static int64_t | GetLogBufferSize () |
| Get size of buffer to create when writing a log.
|
|
static void | SetLogPath (const wchar_t *pWcsLogPath=nullptr) |
| Specify log storage path.
|
|
static const wchar_t * | GetLogPathName () |
| Get log save path.
|
|
static const wchar_t * | GetLogFileName () |
| Get log save file name.
|
|
static const wchar_t * | GetLogFileNameWithPath () |
| Get log save file name including path.
|
|
static void | SetLogCallback (CLogCallbackProcType pCallback, CFLBase *pReceiver) |
| Set log callback.
|
|
static CLogCallbackProcType | GetLogCallback () |
| Set log callback.
|
|
static CFLBase * | GetReceiver () |
| Return log callback receive object pointer.
|
|