7 #ifndef Svc_ComLogger_HPP 8 #define Svc_ComLogger_HPP 38 ComLogger(
const char* compName,
const char* filePrefix, U32 maxFileSize,
bool storeBufferLength =
true);
50 void init_log_file(
const char* filePrefix, U32 maxFileSize,
bool storeBufferLength =
true);
61 void CloseFile_cmdHandler(
FwOpcodeType opCode, U32 cmdSeq);
76 enum FileMode { CLOSED = 0, OPEN = 1 };
84 bool m_writeErrorOccurred;
85 bool m_openErrorOccurred;
86 bool m_storeBufferLength;
102 bool writeToFile(
void* data, U16 length);
104 void writeHashFile();
FwIdType FwOpcodeType
The type of a command opcode.
friend class ComLoggerTester
void init_log_file(const char *filePrefix, U32 maxFileSize, bool storeBufferLength=true)
PlatformIndexType FwIndexType
RateGroupDivider component implementation.
ComLogger(const char *compName, const char *filePrefix, U32 maxFileSize, bool storeBufferLength=true)
Auto-generated base for ComLogger component.