Example

Loading...
Searching...
No Matches
CNFBBaseline.h
Go to the documentation of this file.
1// Copyright. 2019 - 2024 PSBD. All rights reserved.
2
3#pragma once
4
5#include "Capsule/CDefinesPrivate.h"
6
7#ifdef __cplusplus
8 extern "C" {
9#endif
10
11 CLC_CLASS_WN(NFBBaselinePrivate, clCNFBBaseline);
20 CL_DLL clCNFBBaseline clCNFBBaseline_Create(float windowSizeSec,
21 float strideSec) NOEXCEPT;
26 CL_DLL void clCNFBBaseline_Destroy(clCNFBBaseline baseline) NOEXCEPT;
27
34 CL_DLL void clCNFBBaseline_PushNFB(clCNFBBaseline baseline, float nfb,
35 int64_t timestamp) NOEXCEPT;
36
43 CL_DLL float clCNFBBaseline_Get(clCNFBBaseline baseline, uint8_t percentile) NOEXCEPT;
44
45#ifdef __cplusplus
46}
47#endif
CDefinesPrivate.h
NOEXCEPT
#define NOEXCEPT
Definition CDefinesPrivate.h:52
CL_DLL
#define CL_DLL
Definition CDefinesPrivate.h:21
CLC_CLASS_WN
#define CLC_CLASS_WN(Wrapped, Name)
Definition CDefinesPrivate.h:54
clCNFBBaseline_Get
CL_DLL float clCNFBBaseline_Get(clCNFBBaseline baseline, uint8_t percentile) NOEXCEPT
Get value from clCNFBBaseline for given percentile.
clCNFBBaseline_Destroy
CL_DLL void clCNFBBaseline_Destroy(clCNFBBaseline baseline) NOEXCEPT
Destroy clCNFBBaseline handle.
clCNFBBaseline_PushNFB
CL_DLL void clCNFBBaseline_PushNFB(clCNFBBaseline baseline, float nfb, int64_t timestamp) NOEXCEPT
Push (time marked) data to clCNFBBaseline buffer.
clCNFBBaseline_Create
CL_DLL clCNFBBaseline clCNFBBaseline_Create(float windowSizeSec, float strideSec) NOEXCEPT
Creates clCNFBBaseline handle - buffer for baseline calculation.