$search

OCL::logging::FileAppender Class Reference

#include <FileAppender.hpp>

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

List of all members.

Public Member Functions

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

Protected Member Functions

virtual void cleanupHook ()
virtual bool configureHook ()
virtual void updateHook ()

Protected Attributes

RTT::Property< std::string > filename_prop
 Name of file to append to.
int maxEventsPerCycle
RTT::Property< int > maxEventsPerCycle_prop

Detailed Description

Definition at line 7 of file FileAppender.hpp.


Constructor & Destructor Documentation

OCL::logging::FileAppender::FileAppender ( std::string  name  ) 

Definition at line 12 of file FileAppender.cpp.

OCL::logging::FileAppender::~FileAppender (  )  [virtual]

Definition at line 22 of file FileAppender.cpp.


Member Function Documentation

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

Reimplemented from RTT::base::TaskCore.

Definition at line 94 of file FileAppender.cpp.

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

Reimplemented from RTT::base::TaskCore.

Definition at line 26 of file FileAppender.cpp.

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

Reimplemented from RTT::base::TaskCore.

Definition at line 45 of file FileAppender.cpp.


Member Data Documentation

Name of file to append to.

Definition at line 15 of file FileAppender.hpp.

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 30 of file FileAppender.hpp.

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

Definition at line 19 of file FileAppender.hpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines


ocl
Author(s): OCL Development Team
autogenerated on Fri Mar 1 16:28:36 2013