OpcUaCanOpen
CANopen OPC-UA server
|
#include <LogSinks.h>
Public Member Functions | |
LogSinks () | |
virtual | ~LogSinks () |
Clean up sink memory. More... | |
void | addSink (LogSinkInterface *sink) |
Ownership of the sink is transferred to this object (deleted in the ~dtor) More... | |
void | logMessage (const std::string &logMsg) |
Private Attributes | |
std::vector< LogSinkInterface * > | m_sinks |
Definition at line 29 of file LogSinks.h.
LogSinks::LogSinks | ( | ) |
Definition at line 25 of file LogSinks.cpp.
|
virtual |
Clean up sink memory.
Definition at line 31 of file LogSinks.cpp.
void LogSinks::addSink | ( | LogSinkInterface * | sink | ) |
Ownership of the sink is transferred to this object (deleted in the ~dtor)
Definition at line 42 of file LogSinks.cpp.
void LogSinks::logMessage | ( | const std::string & | logMsg | ) |
Definition at line 47 of file LogSinks.cpp.
|
private |
Definition at line 38 of file LogSinks.h.