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
Once.h
1
#pragma once
2
3
#include <functional>
4
5
#include <Poco/Mutex.h>
6
7
namespace
BeeeOn {
8
15
class
Once
{
16
public
:
17
Once
();
18
19
void
execute(
const
std::function<
void
()> &func);
20
21
private
:
22
Poco::FastMutex m_lock;
23
bool
m_triggered;
24
};
25
26
}
BeeeOn::Once
Definition:
Once.h:15
Generated by
1.8.5