$search

OCL::logging::Log4cxxAppender Class Reference

#include <Log4cxxAppender.hpp>

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

List of all members.

Public Member Functions

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

Protected Member Functions

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

Protected Attributes

log4cxx::helpers::InetAddressPtr address
std::string hostname_prop
 Name of host to append to.
RTT::InputPort
< OCL::logging::LoggingEvent
log_port
int maxEventsPerCycle
int maxEventsPerCycle_prop
log4cxx::helpers::Pool p
int port_prop
 The port where the logging server runs.
log4cxx::net::SocketAppender * socketAppender

Detailed Description

Definition at line 36 of file Log4cxxAppender.hpp.


Constructor & Destructor Documentation

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

Definition at line 43 of file Log4cxxAppender.cpp.

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

Definition at line 57 of file Log4cxxAppender.cpp.


Member Function Documentation

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

Reimplemented from RTT::base::TaskCore.

Definition at line 144 of file Log4cxxAppender.cpp.

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

Reimplemented from RTT::base::TaskCore.

Definition at line 61 of file Log4cxxAppender.cpp.

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

Reimplemented from RTT::base::TaskCore.

Definition at line 95 of file Log4cxxAppender.cpp.


Member Data Documentation

log4cxx::helpers::InetAddressPtr OCL::logging::Log4cxxAppender::address [protected]

Definition at line 49 of file Log4cxxAppender.hpp.

Name of host to append to.

Definition at line 56 of file Log4cxxAppender.hpp.

Port we receive logging events on Initially unconnected. The logging service connects appenders.

Definition at line 53 of file Log4cxxAppender.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 74 of file Log4cxxAppender.hpp.

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

Definition at line 63 of file Log4cxxAppender.hpp.

log4cxx::helpers::Pool OCL::logging::Log4cxxAppender::p [protected]

Definition at line 47 of file Log4cxxAppender.hpp.

The port where the logging server runs.

Definition at line 59 of file Log4cxxAppender.hpp.

log4cxx::net::SocketAppender* OCL::logging::Log4cxxAppender::socketAppender [protected]

Definition at line 48 of file Log4cxxAppender.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