Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
logging
OstreamAppender.hpp
Go to the documentation of this file.
1
#ifndef OSTREAMAPPENDER_HPP
2
#define OSTREAMAPPENDER_HPP 1
3
4
#include "
Appender.hpp
"
5
#include <
rtt/Property.hpp
>
6
7
namespace
OCL
{
8
namespace
logging {
9
10
class
OstreamAppender
:
public
OCL::logging::Appender
11
{
12
public
:
13
OstreamAppender
(std::string name);
14
virtual
~OstreamAppender
();
15
16
protected
:
18
virtual
bool
configureHook
();
20
virtual
void
updateHook
();
22
virtual
void
cleanupHook
();
23
27
RTT::Property<int>
maxEventsPerCycle_prop
;
28
38
int
maxEventsPerCycle
;
39
};
40
41
// namespaces
42
}
43
}
44
45
#endif
OCL::logging::OstreamAppender::configureHook
virtual bool configureHook()
Create log4cpp appender.
Definition:
OstreamAppender.cpp:23
OCL::logging::OstreamAppender::maxEventsPerCycle_prop
RTT::Property< int > maxEventsPerCycle_prop
Definition:
OstreamAppender.hpp:27
OCL::logging::OstreamAppender::maxEventsPerCycle
int maxEventsPerCycle
Definition:
OstreamAppender.hpp:38
OCL::logging::OstreamAppender::updateHook
virtual void updateHook()
Process at most one (1) event.
Definition:
OstreamAppender.cpp:42
OCL::logging::OstreamAppender::OstreamAppender
OstreamAppender(std::string name)
Definition:
OstreamAppender.cpp:11
OCL::logging::OstreamAppender::cleanupHook
virtual void cleanupHook()
Destroy appender.
Definition:
OstreamAppender.cpp:47
OCL::logging::Appender
Definition:
Appender.hpp:16
OCL::logging::OstreamAppender::~OstreamAppender
virtual ~OstreamAppender()
Definition:
OstreamAppender.cpp:19
Appender.hpp
OCL
Definition:
deployer-funcs.cpp:68
RTT::Property< int >
Property.hpp
OCL::logging::OstreamAppender
Definition:
OstreamAppender.hpp:10
ocl
Author(s): OCL Development Team
autogenerated on Wed Jun 26 2019 19:26:27