DDS  ver. 3.6
Public Types | Public Member Functions | List of all members
dds::pipe_log_engine::CLogEngine Class Reference

#include <PipeLogEngine.h>

Public Types

typedef std::function< void(const std::string &)> onLogEvent_t
 

Public Member Functions

 CLogEngine (bool _debugMode=false)
 
 ~CLogEngine ()
 
void start (const std::string &_pipeFilePath, onLogEvent_t _callback=nullptr)
 
void stop ()
 
void operator() (const std::string &_msg, const std::string &_id="**", bool _debugMsg=false) const
 
void debug_msg (const std::string &_msg, const std::string &_id="**") const
 
void setDbgFlag (bool _dbgFlag)
 

Member Typedef Documentation

◆ onLogEvent_t

typedef std::function<void(const std::string&)> dds::pipe_log_engine::CLogEngine::onLogEvent_t

Constructor & Destructor Documentation

◆ CLogEngine()

CLogEngine::CLogEngine ( bool  _debugMode = false)

◆ ~CLogEngine()

CLogEngine::~CLogEngine ( )

Member Function Documentation

◆ debug_msg()

void dds::pipe_log_engine::CLogEngine::debug_msg ( const std::string &  _msg,
const std::string &  _id = "**" 
) const
inline

◆ operator()()

void CLogEngine::operator() ( const std::string &  _msg,
const std::string &  _id = "**",
bool  _debugMsg = false 
) const

◆ setDbgFlag()

void dds::pipe_log_engine::CLogEngine::setDbgFlag ( bool  _dbgFlag)
inline

◆ start()

void CLogEngine::start ( const std::string &  _pipeFilePath,
onLogEvent_t  _callback = nullptr 
)

◆ stop()

void CLogEngine::stop ( )

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