Example
|
#include "Capsule/CDefinesPrivate.h"
Go to the source code of this file.
Classes | |
struct | clCPhysiologicalStatesValue |
struct | clCPhysiologicalStatesBaselines |
Typedefs | |
typedef struct clCPhysiologicalStatesValue | clCPhysiologicalStatesValue |
typedef void(* | clCPhysiologicalStatesHandlerPhysiologicalStatesUpdate) (clCPhysiologicalStates, const clCPhysiologicalStatesValue *) |
typedef void(* | clCPhysiologicalStatesHandlerInitialized) (clCPhysiologicalStates) |
typedef struct clCPhysiologicalStatesBaselines | clCPhysiologicalStatesBaselines |
typedef void(* | clCPhysiologicalStatesHandlerCalibrated) (clCPhysiologicalStates, const clCPhysiologicalStatesBaselines *) |
Functions | |
CLC_CLASS_WN (ClassificationPhysiologicalStatesPrivate, clCPhysiologicalStates) | |
CL_DLL clCPhysiologicalStates | clCPhysiologicalStates_Create (clCSession session) NOEXCEPT |
Create a PhysiologicalStates classifier. | |
CL_DLL void | clCPhysiologicalStates_Destroy (clCPhysiologicalStates states) NOEXCEPT |
Destroy PhysiologicalStates classifier. | |
CLC_STRUCT (clCPhysiologicalStatesDelegatePhysiologicalStatesUpdate) | |
CL_DLL void | clCPhysiologicalStatesOnPhysiologicalStatesUpdateEvent_Set (clCPhysiologicalStatesDelegatePhysiologicalStatesUpdate delegate, clCPhysiologicalStatesHandlerPhysiologicalStatesUpdate handler) NOEXCEPT |
Set handler for physiological states update event. | |
CL_DLL clCPhysiologicalStatesDelegatePhysiologicalStatesUpdate | clCPhysiologicalStates_GetOnPhysiologicalStatesUpdateEvent (clCPhysiologicalStates states) NOEXCEPT |
Set delegate for physiological states update event. | |
CLC_STRUCT (clCPhysiologicalStatesDelegateInitialized) | |
CL_DLL void | clCPhysiologicalStatesOnInitializedEvent_Set (clCPhysiologicalStatesDelegateInitialized delegate, clCPhysiologicalStatesHandlerInitialized handler) NOEXCEPT |
Set handler for physiological staes initialized delegate. | |
CL_DLL clCPhysiologicalStatesDelegateInitialized | clCPhysiologicalStates_GetOnInitializedEvent (clCPhysiologicalStates states) NOEXCEPT |
Get delegate for physiological states initialized event. | |
CLC_STRUCT (clCPhysiologicalStatesDelegateCalibrated) | |
CL_DLL void | clCPhysiologicalStatesOnCalibratedEvent_Set (clCPhysiologicalStatesDelegateCalibrated delegate, clCPhysiologicalStatesHandlerCalibrated handler) NOEXCEPT |
Set handler for physiological staes calibrated delegate. | |
CL_DLL clCPhysiologicalStatesDelegateCalibrated | clCPhysiologicalStates_GetOnCalibratedEvent (clCPhysiologicalStates states) NOEXCEPT |
Get delegate for physiological states calibrated event. | |
CL_DLL void | clCPhysiologicalStates_Initialize (clCPhysiologicalStates states) NOEXCEPT |
Initialize physiological states classifier with default calculation period. | |
CL_DLL void | clCPhysiologicalStates_InitializeWithCalculationPeriod (clCPhysiologicalStates states, float calculationPeriod) NOEXCEPT |
Initialize physiological states classifier with custom calculation period. | |
CL_DLL void | clCPhysiologicalStates_StartCalibration (clCPhysiologicalStates states) NOEXCEPT |
Start physiological states calibration. | |
typedef struct clCPhysiologicalStatesBaselines clCPhysiologicalStatesBaselines |
typedef void(* clCPhysiologicalStatesHandlerCalibrated) (clCPhysiologicalStates, const clCPhysiologicalStatesBaselines *) |
typedef void(* clCPhysiologicalStatesHandlerInitialized) (clCPhysiologicalStates) |
typedef void(* clCPhysiologicalStatesHandlerPhysiologicalStatesUpdate) (clCPhysiologicalStates, const clCPhysiologicalStatesValue *) |
typedef struct clCPhysiologicalStatesValue clCPhysiologicalStatesValue |
CLC_CLASS_WN | ( | ClassificationPhysiologicalStatesPrivate | , |
clCPhysiologicalStates | |||
) |
CLC_STRUCT | ( | clCPhysiologicalStatesDelegateCalibrated | ) |
CLC_STRUCT | ( | clCPhysiologicalStatesDelegateInitialized | ) |
CLC_STRUCT | ( | clCPhysiologicalStatesDelegatePhysiologicalStatesUpdate | ) |
CL_DLL clCPhysiologicalStates clCPhysiologicalStates_Create | ( | clCSession | session | ) |
Create a PhysiologicalStates classifier.
session | session handle. Valid session must be passed (does not need to be active) |
CL_DLL void clCPhysiologicalStates_Destroy | ( | clCPhysiologicalStates | states | ) |
Destroy PhysiologicalStates classifier.
states | classifier handle. |
CL_DLL clCPhysiologicalStatesDelegateCalibrated clCPhysiologicalStates_GetOnCalibratedEvent | ( | clCPhysiologicalStates | states | ) |
Get delegate for physiological states calibrated event.
CL_DLL clCPhysiologicalStatesDelegateInitialized clCPhysiologicalStates_GetOnInitializedEvent | ( | clCPhysiologicalStates | states | ) |
Get delegate for physiological states initialized event.
CL_DLL clCPhysiologicalStatesDelegatePhysiologicalStatesUpdate clCPhysiologicalStates_GetOnPhysiologicalStatesUpdateEvent | ( | clCPhysiologicalStates | states | ) |
Set delegate for physiological states update event.
CL_DLL void clCPhysiologicalStates_Initialize | ( | clCPhysiologicalStates | states | ) |
Initialize physiological states classifier with default calculation period.
states | classifier handle |
CL_DLL void clCPhysiologicalStates_InitializeWithCalculationPeriod | ( | clCPhysiologicalStates | states, |
float | calculationPeriod | ||
) |
Initialize physiological states classifier with custom calculation period.
states | classifier handle |
calculationPeriod | number of seconds between states calculations |
CL_DLL void clCPhysiologicalStates_StartCalibration | ( | clCPhysiologicalStates | states | ) |
Start physiological states calibration.
states | classifier handle |
CL_DLL void clCPhysiologicalStatesOnCalibratedEvent_Set | ( | clCPhysiologicalStatesDelegateCalibrated | delegate, |
clCPhysiologicalStatesHandlerCalibrated | handler | ||
) |
Set handler for physiological staes calibrated delegate.
CL_DLL void clCPhysiologicalStatesOnInitializedEvent_Set | ( | clCPhysiologicalStatesDelegateInitialized | delegate, |
clCPhysiologicalStatesHandlerInitialized | handler | ||
) |
Set handler for physiological staes initialized delegate.
CL_DLL void clCPhysiologicalStatesOnPhysiologicalStatesUpdateEvent_Set | ( | clCPhysiologicalStatesDelegatePhysiologicalStatesUpdate | delegate, |
clCPhysiologicalStatesHandlerPhysiologicalStatesUpdate | handler | ||
) |
Set handler for physiological states update event.