F´ Flight Software - C/C++ Documentation NASA-v1.6.0
A framework for building embedded system applications to NASA flight quality standards.
Loading...
Searching...
No Matches
Svc::BufferLogger Class Reference

#include <Svc/BufferLogger/BufferLogger.hpp>

Inheritance diagram for Svc::BufferLogger:

Public Member Functions

 BufferLogger (const char *const compName)
 Create a BufferLogger object.
 
void init (const NATIVE_INT_TYPE queueDepth, const NATIVE_INT_TYPE instance)
 Initialize a BufferLogger object.
 
void initLog (const char *const logFilePrefix, const char *const logFileSuffix, const U32 maxFileSize, const U8 sizeOfSize)
 Set up log file parameters.
 

Detailed Description

Definition at line 25 of file BufferLogger.hpp.

Constructor & Destructor Documentation

◆ BufferLogger()

Svc::BufferLogger::BufferLogger ( const char *const  compName)

Create a BufferLogger object.

Parameters
compNameThe component name

Definition at line 22 of file BufferLogger.cpp.

Member Function Documentation

◆ init()

void Svc::BufferLogger::init ( const NATIVE_INT_TYPE  queueDepth,
const NATIVE_INT_TYPE  instance 
)

Initialize a BufferLogger object.

Parameters
queueDepthThe queue depth
instanceThe instance number

Definition at line 31 of file BufferLogger.cpp.

◆ initLog()

void Svc::BufferLogger::initLog ( const char *const  logFilePrefix,
const char *const  logFileSuffix,
const U32  maxFileSize,
const U8  sizeOfSize 
)

Set up log file parameters.

Parameters
logFilePrefixThe log file name prefix
logFileSuffixThe log file name suffix
maxFileSizeThe maximum file size
sizeOfSizeThe number of bytes to use when storing the size field at the start of each buffer

Definition at line 45 of file BufferLogger.cpp.


The documentation for this class was generated from the following files: