Capsule API Example

Loading...
Searching...
No Matches
ClassificationMEMS.hpp
Go to the documentation of this file.
1// Copyright. 2019 - 2024 PSBD. All rights reserved.
2
3#pragma once
4
5#include "Classification.hpp"
6
7#include <MEMS.hpp>
8
9#include <functional>
10
11 namespace capsule::client {
12 class ClassificationMEMSPrivate;
13 class Device;
14
15 class ClassificationMEMS final : public Classification {
16 public:
17 explicit ClassificationMEMS(Device& device) noexcept;
18
19 void SetOnMEMSDataEvent(std::function<void(ClassificationMEMS&, mems::MEMSTimedData&&)>&& callback);
20
21 private:
22 ClassificationMEMSPrivate* getImpl();
23 const ClassificationMEMSPrivate* getImpl() const;
24};
25
26} // namespace capsule::client
Classification.hpp
capsule::client::Classification
is the base class for to NFB or productivity classification process.
Definition Classification.hpp:16
capsule::client::ClassificationMEMS
Definition ClassificationMEMS.hpp:15
capsule::client::ClassificationMEMS::ClassificationMEMS
ClassificationMEMS(Device &device) noexcept
capsule::client::ClassificationMEMS::SetOnMEMSDataEvent
void SetOnMEMSDataEvent(std::function< void(ClassificationMEMS &, mems::MEMSTimedData &&)> &&callback)
capsule::client::Device
Device.
Definition Device.hpp:71
capsule::client
Definition Classification.hpp:7