#include <ExperimentStore.h>
◆ ~ExperimentStore()
| phyphox::ExperimentStore::~ExperimentStore |
( |
| ) |
|
|
inline |
◆ blockSize()
| size_t phyphox::ExperimentStore::blockSize |
( |
| ) |
const |
|
inline |
◆ buildDefault()
| void phyphox::ExperimentStore::buildDefault |
( |
| ) |
|
The experiment served when a sketch calls start() without addExperiment(): one view with a graph of channel 1 over time and a value of channel 1 — the same on every board (§3.7).
◆ bytesNeeded()
Bytes the copy of exp needs (what copyFrom() would allocate) — for the size report.
◆ channelStorage()
| void * phyphox::ExperimentStore::channelStorage |
( |
| ) |
const |
|
inline |
Storage inside the block for the ChannelStore (ChannelStore::bytesNeeded(inputChannelsUsed())).
◆ clear()
| void phyphox::ExperimentStore::clear |
( |
| ) |
|
◆ copyFrom()
Measures, allocates and deep-copies the builder into the block; assigns characteristics; validates channels.
Returns false if the allocation failed (ERR_06) or a channel conflict was recorded (ERR_07) — the experiment is still served with the error shown.
◆ data() [1/2]
◆ data() [2/2]
◆ hasErrors()
| bool phyphox::ExperimentStore::hasErrors |
( |
| ) |
const |
◆ input()
| const InputChannelInfo & phyphox::ExperimentStore::input |
( |
uint8_t |
channel | ) |
const |
◆ inputChannelsUsed()
| uint8_t phyphox::ExperimentStore::inputChannelsUsed |
( |
| ) |
const |
|
inline |
Highest input channel in use (so the serializer emits only what exists).
◆ partTable()
| uint16_t * phyphox::ExperimentStore::partTable |
( |
| ) |
const |
|
inline |
Storage inside the block for the serializer's part table (viewCount + 3 entries).
The documentation for this class was generated from the following file: