Example
Loading...
Searching...
No Matches
CMEMS.h
Go to the documentation of this file.
1// Copyright. 2019 - 2024 PSBD. All rights reserved.
2
3#pragma once
4
8#include "Capsule/CSession.h"
9
10#ifdef __cplusplus
11extern "C" {
12#endif
13
14CLC_CLASS_WN(ClassificationMEMSPrivate, clCMEMS);
15
22CL_DLL clCMEMS clCMEMS_Create(clCSession session) NOEXCEPT;
29CL_DLL clCMEMS clCMEMS_CreateCalibrated(clCNFBCalibrator calibrator) NOEXCEPT;
30
37
38CLC_STRUCT(clCMEMSTimedDataDelegate);
42CL_DLL clCMEMSTimedDataDelegate clCMEMS_GetOnMEMSTimedDataUpdateEvent(clCMEMS mems) NOEXCEPT;
43
44typedef void (*clCMEMSDataUpdateHandler)(clCMEMS, clCMEMSTimedData);
48CL_DLL void clCMEMSDelegateMEMSTimedDataUpdate_Set(clCMEMSTimedDataDelegate delegate,
50
56CL_DLL void clCMEMS_Destroy(clCMEMS mems) NOEXCEPT;
57
58#ifdef __cplusplus
59}
60#endif
#define CLC_STRUCT(Name)
Definition CDefinesPrivate.h:24
#define NOEXCEPT
Definition CDefinesPrivate.h:52
#define CL_DLL
Definition CDefinesPrivate.h:21
#define CLC_CLASS_WN(Wrapped, Name)
Definition CDefinesPrivate.h:54
CL_DLL void clCMEMS_Initialize(clCMEMS mems) NOEXCEPT
Initialize cardio classifier.
CL_DLL void clCMEMS_Destroy(clCMEMS mems) NOEXCEPT
Destroy MEMS classifier.
CL_DLL clCMEMS clCMEMS_Create(clCSession session) NOEXCEPT
Create a MEMS classifier.
void(* clCMEMSDataUpdateHandler)(clCMEMS, clCMEMSTimedData)
Definition CMEMS.h:44
CL_DLL clCMEMS clCMEMS_CreateCalibrated(clCNFBCalibrator calibrator) NOEXCEPT
Create a MEMS classifier after individual NFB has calibrated.
CL_DLL void clCMEMSDelegateMEMSTimedDataUpdate_Set(clCMEMSTimedDataDelegate delegate, clCMEMSDataUpdateHandler callback) NOEXCEPT
Set handler for MEMS data updates delegate.
CL_DLL clCMEMSTimedDataDelegate clCMEMS_GetOnMEMSTimedDataUpdateEvent(clCMEMS mems) NOEXCEPT
Get delegate for MEMS data event.