EEROS
0.4.1.0
API for the EEROS Real-Time Robotics Framework
Main Page
Namespaces
Classes
Files
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Thread.hpp
Go to the documentation of this file.
1
#ifndef ORG_EEROS_CORE_THREAD_HPP_
2
#define ORG_EEROS_CORE_THREAD_HPP_
3
4
#include <
eeros/logger/Logger.hpp
>
5
#include <
eeros/logger/LogWriter.hpp
>
6
7
#include <thread>
8
#include <functional>
9
#include <string>
10
11
namespace
eeros {
12
13
class
Thread
{
14
15
public
:
16
Thread
();
17
virtual
~Thread
();
18
19
virtual
std::string
getId
()
const
;
20
virtual
void
join
();
21
22
protected
:
23
Thread
(std::function<
void
()>
t
);
24
25
virtual
void
run
();
26
27
std::thread
t
;
28
eeros::logger::Logger<eeros::logger::LogWriter>
log
;
29
};
30
};
31
32
#endif // ORG_EEROS_CORE_THREAD_HPP_
eeros::Thread::log
eeros::logger::Logger< eeros::logger::LogWriter > log
Definition:
Thread.hpp:28
eeros::Thread::getId
virtual std::string getId() const
eeros::logger::Logger< eeros::logger::LogWriter >
eeros::Thread::~Thread
virtual ~Thread()
Logger.hpp
LogWriter.hpp
eeros::Thread
Definition:
Thread.hpp:13
eeros::Thread::run
virtual void run()
eeros::Thread::t
std::thread t
Definition:
Thread.hpp:27
eeros::Thread::Thread
Thread()
Definition:
Thread.cpp:6
eeros::Thread::join
virtual void join()
includes
eeros
core
Thread.hpp
Generated on Wed Jul 8 2015 11:18:07 for EEROS by
1.8.6