BulkDataNTDDSLoggable − |
#include <bulkDataNTDDSLoggable.h> Inherits Logging::Loggable. Inherited by AcsBulkdata::BulkDataNTReaderListener, and AcsBulkdata::BulkDataNTWriterListener. |
Public Member Functions |
BulkDataNTDDSLoggable (const std::string &loggerName) |
virtual ~BulkDataNTDDSLoggable () |
void initalizeLogging () |
virtual Logging::Logger::LoggerSmartPtr getLogger () |
we override getLogger, so that we can initialize logging system if needed |
Static Public Attributes |
static LoggingProxy * logger_mp |
static unsigned int loggerInitCount_m |
The purpose of this class is to make possible to log from classes that are used by threads created by DDS, where we do not have possibility to do the (per-thread) initialization of the logging system. The class just override getLogger and inside detects if the logging has been already initialized for the thread if not it does the initialization. TBD: at the moment the logs do not go to centralized logger. It has to be added functionality to set centralized logger. |
BulkDataNTDDSLoggable::BulkDataNTDDSLoggable (const std::string & loggerName) [inline] |
virtual BulkDataNTDDSLoggable::~BulkDataNTDDSLoggable () [virtual] |
virtual Logging::Logger::LoggerSmartPtr BulkDataNTDDSLoggable::getLogger () [virtual] |
we override getLogger, so that we can initialize logging system if needed |
void BulkDataNTDDSLoggable::initalizeLogging () it checks if the logging has been initialized for current thread, and if not it initialize it |
LoggingProxy* BulkDataNTDDSLoggable::logger_mp [static] |
unsigned int BulkDataNTDDSLoggable::loggerInitCount_m [static] |
Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code. |