Capsule API Example

Loading...
Searching...
No Matches
CPPGTimedData.h
Go to the documentation of this file.
1// Copyright. 2019 - 2024 PSBD. All rights reserved.
2
3#pragma once
4
5#include "CDefinesPrivate.h"
6
7#ifdef __cplusplus
8 extern "C" {
9#endif
10
16 CLC_STRUCT_WNN(PPGTimedData, clCPPGTimedData, cardio);
17
24 CL_DLL int32_t clCPPGTimedData_GetCount(clCPPGTimedData ppgTimedData) NOEXCEPT;
32 CL_DLL float clCPPGTimedData_GetValue(clCPPGTimedData ppgTimedData, int32_t index) NOEXCEPT;
40 CL_DLL uint64_t clCPPGTimedData_GetTimestampMilli(clCPPGTimedData ppgTimedData, int32_t index) NOEXCEPT;
41
42#ifdef __cplusplus
43}
44#endif
CDefinesPrivate.h
NOEXCEPT
#define NOEXCEPT
Definition CDefinesPrivate.h:82
CL_DLL
#define CL_DLL
Definition CDefinesPrivate.h:51
clCPPGTimedData_GetTimestampMilli
CL_DLL uint64_t clCPPGTimedData_GetTimestampMilli(clCPPGTimedData ppgTimedData, int32_t index) NOEXCEPT
Get PPG timestamp by index.
clCPPGTimedData_GetValue
CL_DLL float clCPPGTimedData_GetValue(clCPPGTimedData ppgTimedData, int32_t index) NOEXCEPT
Get PPG value by index.
CLC_STRUCT_WNN
CLC_STRUCT_WNN(PPGTimedData, clCPPGTimedData, cardio)
Array of PPG data with timestamps.
clCPPGTimedData_GetCount
CL_DLL int32_t clCPPGTimedData_GetCount(clCPPGTimedData ppgTimedData) NOEXCEPT
Get total number of PPG values.