KymoCore/Documentation
v8.0.0 Stable⌄
Versions8.0.0 Current
GitHub ↗
KYMOCORE / API REFERENCE

kymo_core_plot.h Source File

API contracts in their original English. Navigation and guides are bilingual.
Go to the documentation of this file.
1/* SPDX-License-Identifier: MIT */
9#ifndef KYMO_CORE_PLOT_H
10#define KYMO_CORE_PLOT_H
11#include "kymo_types.h"
12#if KYMO_EFFECTIVE_RUNTIME || defined(DOXYGEN)
15#ifdef __cplusplus
16extern "C"
17{
18#endif
19
25 typedef struct
26 {
29
32
35
37 uint16_t channelCount;
39#if KYMO_EFFECTIVE_CORE || defined(DOXYGEN)
40
51
60 uint8_t KymoCorePlot_sampleBound(void *pContext, uint8_t channelId, KymoSample *pSample);
61#endif
62#ifdef __cplusplus
63}
64#endif
65#endif
66#endif
KymoStatus KymoCorePlot_init(const KymoCorePlotConfig *pConfig)
Initialize plot and activate its processing in Core Main.
uint8_t KymoCorePlot_sampleBound(void *pContext, uint8_t channelId, KymoSample *pSample)
Optional sample callback for a table of float pointers.
Shared data field selectors, without encoding or transport interfaces.
Canonical application channel, sample and binding types; no runtime state.
uint8_t(*) KymoSampleFn(void *pContext, uint8_t channelId, KymoSample *pSample)
Obtain a current measurement for a selected channel.
Status codes and callback types shared by every KymoCore module.
uint8_t KymoStatus
Result of a KymoCore operation.
Definition kymo_types.h:40
Immutable scheduling and wire selection for one channel.
Application configuration for plot.
const KymoChannel * pChannelsAv
Persistent, uniquely identified channels.
uint16_t channelCount
Number of channels, 1..KYMO_MAX_CHANNELS.
void * pSampleContext
Opaque callback context, allowed to be NULL.
KymoSampleFn sampleCbk
Required sample callback; writes one finite sample or returns zero to skip.
Coordinates written by the application sample callback.