logging::LoggingServiceFeeder

NAME
SYNOPSIS
Member Typedef Documentation
Constructor & Destructor Documentation
Member Function Documentation
Member Data Documentation
Author

NAME

logging::LoggingServiceFeeder −

SYNOPSIS

#include <loggingLoggingProxyAppender.h>

Public Member Functions

LoggingServiceFeeder ()

void sendLogRecord (Logging::XmlLogRecord logRecord)

void sendLogRecordImmediately (Logging::XmlLogRecord logRecord)

Sends the log record immediately to the remote log service.

void setCentralizedLogger (Logging::AcsLogService_ptr centralizedLogger)

Private Types

typedef std::deque< Logging::XmlLogRecord > LogDeque

Private Member Functions

void * worker (void *arg)

void svc ()

void sendCache ()

Private Attributes

Logging::AcsLogService_var m_logger

volatile bool shutdown

ACE_Recursive_Thread_Mutex m_mutex

ACE_SYNCH_MUTEX m_doWorkMutex

LogDeque m_cache

Member Typedef Documentation

typedef std::deque<Logging::XmlLogRecord> logging::LoggingServiceFeeder::LogDeque [private]

Constructor & Destructor Documentation

logging::LoggingServiceFeeder::LoggingServiceFeeder ()

Member Function Documentation

void logging::LoggingServiceFeeder::sendCache () [private]

void logging::LoggingServiceFeeder::sendLogRecord (Logging::XmlLogRecord logRecord) Accumulates the logRecords into a buffer to then flush the accumulated log records to the remote log service

void logging::LoggingServiceFeeder::sendLogRecordImmediately (Logging::XmlLogRecord logRecord)

Sends the log record immediately to the remote log service.

void logging::LoggingServiceFeeder::setCentralizedLogger (Logging::AcsLogService_ptr centralizedLogger)

void logging::LoggingServiceFeeder::svc () [private]

void* logging::LoggingServiceFeeder::worker (void * arg) [private]

Member Data Documentation

LogDeque logging::LoggingServiceFeeder::m_cache [private]

ACE_SYNCH_MUTEX logging::LoggingServiceFeeder::m_doWorkMutex [private]

Logging::AcsLogService_var logging::LoggingServiceFeeder::m_logger [private]

ACE_Recursive_Thread_Mutex logging::LoggingServiceFeeder::m_mutex [private]

volatile bool logging::LoggingServiceFeeder::shutdown [private]

Author

Generated automatically by Doxygen for ACS-2015.2 C++ API from the source code.