Public Member Functions | Protected Member Functions | Private Types | Private Member Functions | Private Attributes
BufferingAppender Class Reference

#include <BufferingAppender.hh>

Inheritance diagram for BufferingAppender:
Inheritance graph
[legend]

List of all members.

Public Member Functions

 BufferingAppender (const std::string name, unsigned long max_size, std::auto_ptr< Appender > sink, std::auto_ptr< TriggeringEventEvaluator > evaluator)
virtual void close ()
 Release any resources allocated within the appender such as file handles, network connections, etc.
bool getLossy () const
void setLossy (bool lossy)

Protected Member Functions

virtual void _append (const LoggingEvent &event)
 Log in Appender specific way.

Private Types

typedef std::list< LoggingEventqueue_t

Private Member Functions

void dump ()

Private Attributes

std::auto_ptr
< TriggeringEventEvaluator
evaluator_
bool lossy_
unsigned long max_size_
queue_t queue_
std::auto_ptr< Appendersink_

Detailed Description

Definition at line 10 of file BufferingAppender.hh.


Member Typedef Documentation

typedef std::list<LoggingEvent> BufferingAppender::queue_t [private]

Definition at line 25 of file BufferingAppender.hh.


Constructor & Destructor Documentation

BufferingAppender::BufferingAppender ( const std::string  name,
unsigned long  max_size,
std::auto_ptr< Appender sink,
std::auto_ptr< TriggeringEventEvaluator evaluator 
)

Member Function Documentation

virtual void BufferingAppender::_append ( const LoggingEvent event) [protected, virtual]

Log in Appender specific way.

Subclasses of Appender should implement this method to perform actual logging.

Parameters:
eventThe LoggingEvent to log.

Implements AppenderSkeleton.

virtual void BufferingAppender::close ( ) [inline, virtual]

Release any resources allocated within the appender such as file handles, network connections, etc.

Implements AppenderSkeleton.

Definition at line 16 of file BufferingAppender.hh.

void BufferingAppender::dump ( ) [private]
bool BufferingAppender::getLossy ( ) const [inline]

Definition at line 18 of file BufferingAppender.hh.

void BufferingAppender::setLossy ( bool  lossy) [inline]

Definition at line 19 of file BufferingAppender.hh.


Member Data Documentation

Definition at line 30 of file BufferingAppender.hh.

bool BufferingAppender::lossy_ [private]

Definition at line 31 of file BufferingAppender.hh.

unsigned long BufferingAppender::max_size_ [private]

Definition at line 28 of file BufferingAppender.hh.

Definition at line 27 of file BufferingAppender.hh.

std::auto_ptr<Appender> BufferingAppender::sink_ [private]

Definition at line 29 of file BufferingAppender.hh.


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


rc_genicam_api
Author(s): Heiko Hirschmueller
autogenerated on Thu Jun 6 2019 18:42:48