herald
2.0.0
herald
include
herald
sensor.h
1
// Copyright 2020-2021 Herald Project Contributors
2
// SPDX-License-Identifier: Apache-2.0
3
//
4
5
#ifndef HERALD_SENSOR_H
6
#define HERALD_SENSOR_H
7
8
#include "sensor_delegate.h"
9
#include "engine/activities.h"
10
11
namespace
herald
{
12
13
using namespace
herald::engine
;
14
19
// class Sensor {
20
// public:
21
// Sensor() = default;
22
// virtual ~Sensor() = default;
23
24
// template <typename SensorDelegateT>
25
// void add(const SensorDelegateT& delegate) {
26
// ;
27
// }
28
// virtual void start() = 0;
29
// virtual void stop() = 0;
30
31
// /// \brief For complex sensor coordination support, if required - Since v1.2-beta3
32
// virtual std::optional<std::reference_wrapper<CoordinationProvider>> coordinationProvider() = 0;
33
// };
34
35
36
37
38
}
// end namespace
39
40
#endif
herald::engine
Engine classes provide for task scheduling, including complex inter-dependent tasks.
Definition:
activities.h:18
herald
Acts as a non-global memory arena for arbitrary classes.
Definition:
aggregates.h:15
Generated by
1.9.1