![]() |
FLImaging 6.5.8.1
|
Log class 더 자세히 ...
#include <Log.h>
Public 멤버 함수 | |
virtual | ~CLog () |
소멸자 | |
![]() | |
CFLBase () | |
기본 생성자 | |
virtual | ~CFLBase () |
소멸자 | |
void | Lock () const |
객체에 Lock을 설정 | |
bool | TryLock () const |
객체에 Lock을 시도 합니다. | |
void | Unlock () const |
객체를 Unlock | |
virtual const CProcessingUnitBase * | GetProcessingUnit () const |
설정된 ProcessingUnit을 반환 | |
virtual const CResult | SetProcessingUnit (const CProcessingUnitBase &pub) |
ProcessingUnit을 설정 | |
virtual const CResult | SetProcessingUnit (const CProcessingUnitBase *pPub) |
ProcessingUnit을 설정 | |
virtual void | ResetProcessingUnit () |
설정된 ProcessingUnit을 해제 | |
virtual bool | IsValid () const |
객체 유효성 확인 | |
template<class T > | |
bool | IsValid (T &tValue) const |
입력 값 유효성 확인 | |
template<class T > | |
bool | IsValid (T *pTValue) const |
입력 값 유효성 확인 | |
template<class T > | |
void | GenerateMin (T &tValue) const |
해당 타입의 최소값 생성 | |
template<class T > | |
void | GenerateMin (T *pTValue) const |
해당 타입의 최소값 생성 | |
template<class T > | |
void | GenerateMinInt32 (T &tValue) const |
부호있는 32비트 정수 최소값 생성 | |
template<class T > | |
void | GenerateMinInt32 (T *pTValue) const |
부호있는 32비트 정수 최소값 생성 | |
template<class T > | |
void | GenerateMinInt31 (T &tValue) const |
부호있는 31비트 정수 최소값 생성 | |
template<class T > | |
void | GenerateMinInt31 (T *pTValue) const |
부호있는 31비트 정수 최소값 생성 | |
template<class T > | |
void | GenerateMax (T &tValue) const |
해당 타입의 최댓값 생성 | |
template<class T > | |
void | GenerateMax (T *pTValue) const |
해당 타입의 최댓값 생성 | |
template<class T > | |
void | GenerateMaxInt32 (T &tValue) const |
부호있는 32비트 정수 최댓값 생성 | |
template<class T > | |
void | GenerateMaxInt32 (T *pTValue) const |
부호있는 32비트 정수 최댓값 생성 | |
template<class T > | |
void | GenerateMaxInt31 (T &tValue) const |
부호있는 31비트 정수 최댓값 생성 | |
template<class T > | |
void | GenerateMaxInt31 (T *pTValue) const |
부호있는 31비트 정수 최댓값 생성 | |
template<class T > | |
void | GenerateInvalid (T &tValue) const |
Invalid값 생성 | |
template<class T > | |
void | GenerateInvalid (T *pTValue) const |
Invalid값 생성 | |
virtual void | OnReceiveBroadcast (const CBroadcastMessage *pMessage) |
Callback 함수. BroadcastMessage를 수신받는 함수 | |
virtual int64_t | GetClassType () const =0 |
Class의 Type 값을 반환한다. 반환되는 값 자체는 의미가 없으나 같은 종류의 클래스인 경우 같은 값이 나오게 되어 비교가 가능하다. | |
const char * | GetClassNameWithNamespace () const |
실제 인스턴스의 namespace를 포함한 클래스 명을 반환한다. | |
const char * | GetClassNameWithoutNamespace () const |
실제 인스턴스의 namespace를 포함하지 않은 클래스 명을 반환한다. | |
virtual uint32_t | GetClassHash () const |
실제 인스턴스의 클래스 해쉬 값을 반환합니다. 같은 클래스에 대해서는 인스턴스가 달라도 동일한 값을 가지게 됩니다. | |
virtual bool | IsLicenseAvailable () const |
현재 보유한 라이선스로 해당 알고리즘을 사용할 수 있는지에 대한 여부를 반환 합니다. | |
const CResult | ShareSynchronizationObject (const CFLBase *pSrcObject) const |
원본 객체의 동기화 객체를 공유 | |
bool | IsSharedSynchronizationObject () const |
공유 동기화 객체를 사용 중인지 여부 | |
virtual void | Throw (const CResult &res, const wchar_t *pWcsExtraMessage=nullptr) const |
예외를 발생 시킵니다. 발생 시킨 객체의 정보와 오류 코드가 로그에 기록 됩니다. | |
virtual void | Throw (const std::exception &res, const wchar_t *pWcsExtraMessage) const |
예외를 발생 시킵니다. 발생 시킨 객체의 정보와 오류 코드가 로그에 기록 됩니다. | |
정적 Public 멤버 함수 | |
static const CResult | Initialize () |
초기화 | |
static bool | IsInitialized () |
초기화 상태 유무를 얻음 | |
static const CResult | Terminate () |
초기화 해제. 해당 함수를 명시적으로 호출한 이후에는 로그 기록 함수에서 묵시적 초기화를 수행하지 않음 | |
static const CResult __stdcall | Write (const char *pszFormat,...) |
로그 기록 | |
static const CResult __stdcall | Write (const wchar_t *pWcsFormat,...) |
로그 기록 | |
static const CResult __stdcall | WriteWithColor (uint32_t u32Color, const char *pszFormat,...) |
지정된 색상으로 로그 기록 | |
static const CResult __stdcall | WriteWithColor (uint32_t u32Color, const wchar_t *pWcsFormat,...) |
지정된 색상으로 로그 기록 | |
static const CResult __stdcall | WriteByCategory (const char *pszCategory, const char *pszFormat,...) |
카테고리를 지정해서 로그 기록 | |
static const CResult __stdcall | WriteByCategory (const wchar_t *pWcsCategory, const wchar_t *pWcsFormat,...) |
카테고리를 지정해서 로그 기록 | |
static const CResult __stdcall | WriteWithColorByCategory (const char *pszCategory, uint32_t u32Color, const char *pszFormat,...) |
지정된 색상과 카테고리로 로그 기록 | |
static const CResult __stdcall | WriteWithColorByCategory (const wchar_t *pWcsCategory, uint32_t u32Color, const wchar_t *pWcsFormat,...) |
지정된 색상과 카테고리로 로그 기록 | |
static const CResult | SetLogBufferSize (int64_t i64BufferSize=65536) |
로그 기록 시 생성할 버퍼의 크기 설정 | |
static int64_t | GetLogBufferSize () |
로그 기록 시 생성할 버퍼의 크기 얻기 | |
static void | SetLogPath (const wchar_t *pWcsLogPath=nullptr) |
로그 저장 경로 지정 | |
static const wchar_t * | GetLogPathName () |
로그 저장 경로를 얻음 | |
static const wchar_t * | GetLogFileName () |
로그 저장 파일명을 얻음 | |
static const wchar_t * | GetLogFileNameWithPath () |
경로를 포함한 로그 저장 파일명을 얻음 | |
static void | SetLogCallback (CLogCallbackProcType pCallback, CFLBase *pReceiver) |
로그 콜백을 설정 | |
static CLogCallbackProcType | GetLogCallback () |
로그 콜백을 설정 | |
static CFLBase * | GetReceiver () |
로그 콜백 수신 객체 포인터를 반환 | |
Protected 멤버 함수 | |
CLog () | |
생성자 | |
Log class
로그 클래스
|
static |
로그 기록 시 생성할 버퍼의 크기 얻기
int64_t | 버퍼 크기 반환 |
|
static |
로그 콜백을 설정
FLImaging::Base::CLogCallbackProcType | 로그 콜백함수 포인터 |
|
static |
로그 저장 파일명을 얻음
const | wchar_t* 로그 저장 파일명 반환 |
|
static |
경로를 포함한 로그 저장 파일명을 얻음
const | wchar_t* 경로를 포함한 로그 저장 파일명 반환 |
|
static |
로그 저장 경로를 얻음
const | wchar_t* 로그 저장 경로 반환 |
|
static |
|
static |
|
static |
초기화 상태 유무를 얻음
bool | 초기화 상태 시 true 반환 |
|
static |
|
static |
로그 콜백을 설정
[in] | pCallback | 로그 콜백함수 포인터 |
[in] | pReceiver | 수신할 객체의 포인터 |
|
static |
로그 저장 경로 지정
[in] | pWcsLogPath | 로그 저장 경로, nullptr 일 시 모듈 경로로 지정 |
|
static |
초기화 해제. 해당 함수를 명시적으로 호출한 이후에는 로그 기록 함수에서 묵시적 초기화를 수행하지 않음
const | FLImaging::CResult 실행 결과에 대한 정보 |
|
static |
|
static |
|
static |
카테고리를 지정해서 로그 기록
[in] | pszCategory | 카테고리 |
[in] | pszFormat | ANSI 기록 문자열 양식 |
[in] | ... | 가변 인자 |
const | FLImaging::CResult 실행 결과에 대한 정보 |
|
static |
카테고리를 지정해서 로그 기록
[in] | pWcsCategory | 카테고리 |
[in] | pWcsFormat | UNICODE 기록 문자열 양식 |
[in] | ... | 가변 인자 |
const | FLImaging::CResult 실행 결과에 대한 정보 |
|
static |
지정된 색상으로 로그 기록
[in] | u32Color | 로그 뷰어에서 표시될 문자열 색 |
[in] | pszFormat | ANSI 기록 문자열 양식 |
[in] | ... | 가변 인자 |
const | FLImaging::CResult 실행 결과에 대한 정보 |
|
static |
지정된 색상으로 로그 기록
[in] | u32Color | 로그 뷰어에서 표시될 문자열 색 |
[in] | pWcsFormat | UNICODE 기록 문자열 양식 |
[in] | ... | 가변 인자 |
const | FLImaging::CResult 실행 결과에 대한 정보 |
|
static |
지정된 색상과 카테고리로 로그 기록
[in] | pszCategory | 카테고리 |
[in] | u32Color | 로그 뷰어에서 표시될 문자열 색 |
[in] | pszFormat | ANSI 기록 문자열 양식 |
[in] | ... | 가변 인자 |
const | FLImaging::CResult 실행 결과에 대한 정보 |
|
static |
지정된 색상과 카테고리로 로그 기록
[in] | pWcsCategory | 카테고리 |
[in] | u32Color | 로그 뷰어에서 표시될 문자열 색 |
[in] | pWcsFormat | UNICODE 기록 문자열 양식 |
[in] | ... | 가변 인자 |
const | FLImaging::CResult 실행 결과에 대한 정보 |