Example

Loading...
Searching...
No Matches
CResistances.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
16 CLC_STRUCT_WN(Resistance, clCResistances);
17
24 CL_DLL int32_t clCResistances_GetCount(clCResistances resistances) NOEXCEPT;
32 CL_DLL clCString clCResistances_GetChannelName(clCResistances resistances,
33 int32_t index) NOEXCEPT;
41 CL_DLL float clCResistances_GetValue(clCResistances resistances, int32_t index) NOEXCEPT;
42
43#ifdef __cplusplus
44}
45#endif
CDefinesPrivate.h
NOEXCEPT
#define NOEXCEPT
Definition CDefinesPrivate.h:52
CL_DLL
#define CL_DLL
Definition CDefinesPrivate.h:21
CLC_STRUCT_WN
#define CLC_STRUCT_WN(Wrapped, Name)
Definition CDefinesPrivate.h:58
clCResistances_GetCount
CL_DLL int32_t clCResistances_GetCount(clCResistances resistances) NOEXCEPT
Get total number of resistance channels.
clCResistances_GetChannelName
CL_DLL clCString clCResistances_GetChannelName(clCResistances resistances, int32_t index) NOEXCEPT
Get channel name by index.
clCResistances_GetValue
CL_DLL float clCResistances_GetValue(clCResistances resistances, int32_t index) NOEXCEPT
Get channel resistance by index.