BeeeOn Gateway
v2020.3.1-2-g6f737dc
Platform to interconnect the IoT world
Main Page
Related Pages
Data Structures
Files
File List
base
src
util
LambdaTimerTask.h
1
#pragma once
2
3
#include <functional>
4
5
#include <Poco/AutoPtr.h>
6
#include <Poco/Util/TimerTask.h>
7
8
namespace
BeeeOn {
9
10
class
LambdaTimerTask
:
public
Poco::Util::TimerTask {
11
public
:
12
typedef
std::function<void(void)> TaskCall;
13
typedef
Poco::AutoPtr<LambdaTimerTask> Ptr;
14
15
LambdaTimerTask
(TaskCall call);
16
17
void
run()
override
;
18
private
:
19
TaskCall m_taskCall;
20
};
21
22
}
BeeeOn::LambdaTimerTask
Definition:
LambdaTimerTask.h:10
Generated by
1.8.5