Public Member Functions | Protected Member Functions | Protected Attributes
OCL::logging::OstreamAppender Class Reference

#include <OstreamAppender.hpp>

Inheritance diagram for OCL::logging::OstreamAppender:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 OstreamAppender (std::string name)
virtual ~OstreamAppender ()

Protected Member Functions

virtual void cleanupHook ()
 Destroy appender.
virtual bool configureHook ()
 Create log4cpp appender.
virtual void updateHook ()
 Process at most one (1) event.

Protected Attributes

int maxEventsPerCycle
RTT::Property< int > maxEventsPerCycle_prop

Detailed Description

Definition at line 10 of file OstreamAppender.hpp.


Constructor & Destructor Documentation

Definition at line 11 of file OstreamAppender.cpp.

Definition at line 19 of file OstreamAppender.cpp.


Member Function Documentation

void OCL::logging::OstreamAppender::cleanupHook ( ) [protected, virtual]

Destroy appender.

Reimplemented from RTT::base::TaskCore.

Definition at line 47 of file OstreamAppender.cpp.

bool OCL::logging::OstreamAppender::configureHook ( ) [protected, virtual]

Create log4cpp appender.

Reimplemented from RTT::base::TaskCore.

Definition at line 23 of file OstreamAppender.cpp.

void OCL::logging::OstreamAppender::updateHook ( ) [protected, virtual]

Process at most one (1) event.

Reimplemented from RTT::base::TaskCore.

Definition at line 42 of file OstreamAppender.cpp.


Member Data Documentation

Maximum number of log events to pop per cycle

Defaults to 1.

A value of 0 indicates to not limit the number of events per cycle. With enough event production, this could lead to thread starvation!

Definition at line 38 of file OstreamAppender.hpp.

Property to set maximum number of log events to pop per cycle

Definition at line 27 of file OstreamAppender.hpp.


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


ocl
Author(s): OCL Development Team
autogenerated on Mon Sep 14 2015 14:21:47