Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
logging
tests
TestComponent.hpp
Go to the documentation of this file.
1
#ifndef TESTCOMPONENT_HPP
2
#define TESTCOMPONENT_HPP 1
3
4
#include <
rtt/TaskContext.hpp
>
5
6
namespace
OCL
{
7
namespace
logging {
8
9
// forward declare
10
class
Category
;
11
12
namespace
test
{
13
14
class
Component
:
public
RTT::TaskContext
15
{
16
public
:
17
Component
(std::string name);
18
virtual
~Component
();
19
20
protected
:
21
virtual
bool
startHook
();
22
virtual
void
updateHook
();
23
25
std::string
categoryName
;
27
OCL::logging::Category
*
logger
;
28
};
29
30
// namespaces
31
}
32
}
33
}
34
35
#endif
OCL::logging::test::Component::Component
Component(std::string name)
Definition:
TestComponent.cpp:16
test
void test(std::string pattern, log4cpp::PatternLayout *layout, log4cpp::Category &cat)
OCL::logging::test::Component::startHook
virtual bool startHook()
Definition:
TestComponent.cpp:28
OCL::logging::test::Component::categoryName
std::string categoryName
Name of our category.
Definition:
TestComponent.hpp:25
OCL::logging::test::Component::updateHook
virtual void updateHook()
Definition:
TestComponent.cpp:40
OCL::logging::test::Component::~Component
virtual ~Component()
Definition:
TestComponent.cpp:24
OCL
Definition:
deployer-funcs.cpp:68
TaskContext.hpp
OCL::logging::Category
Definition:
Category.hpp:25
RTT::TaskContext
OCL::logging::test::Component::logger
OCL::logging::Category * logger
Our logging category.
Definition:
TestComponent.hpp:27
OCL::logging::Category
class OCL_API Category
Definition:
CategoryStream.hpp:11
OCL::logging::test::Component
Definition:
TestComponent.hpp:14
ocl
Author(s): OCL Development Team
autogenerated on Wed Jun 26 2019 19:26:27