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