#include <phyphoxBleExperiment.h>
|
| | Value () |
| |
| | Value (const char *label, int channel=1) |
| |
| void | setPrecision (int) |
| |
| void | setUnit (const char *) |
| |
| void | setColor (const char *) |
| |
| void | setChannel (int) |
| | data channel 1…5 shown
|
| |
| void | setSize (float) |
| |
| void | setFactor (float) |
| |
| void | setScientific (bool) |
| |
| void | addMap (float min, float max, const char *text) |
| | Show text instead of the number while min <= value <= max (D17); the first match wins.
|
| |
| void | addMapBelow (float max, const char *text) |
| |
| void | addMapAbove (float min, const char *text) |
| |
| void | setMaps (int n, const float *mins, const float *maxs, const char *const texts[]) |
| |
| | Element (const Element &)=delete |
| |
| Element & | operator= (const Element &)=delete |
| |
| virtual | ~Element () |
| |
| virtual void | setLabel (const char *) |
| |
| void | setXMLAttribute (const char *) |
| | Raw attribute text appended verbatim to the element's start tag, e.g.
|
| |
| void | setVisibility (int inputChannel) |
| | Show the element only while the last value in that input channel is > 0 (a toggle's channel, typically).
|
| |
| phyphox::ElementData & | data () |
| |
| const phyphox::ElementData & | data () const |
| |
| virtual bool | isExportData () const |
| |
◆ Value() [1/2]
| PhyphoxBleExperiment::Value::Value |
( |
| ) |
|
|
inline |
◆ Value() [2/2]
| PhyphoxBleExperiment::Value::Value |
( |
const char * |
label, |
|
|
int |
channel = 1 |
|
) |
| |
|
inlineexplicit |
◆ addMap()
| void PhyphoxBleExperiment::Value::addMap |
( |
float |
min, |
|
|
float |
max, |
|
|
const char * |
text |
|
) |
| |
Show text instead of the number while min <= value <= max (D17); the first match wins.
Up to PHYPHOX_BLE_INLINE_OPTIONS entries this way; setMaps() takes any number.
◆ addMapAbove()
| void PhyphoxBleExperiment::Value::addMapAbove |
( |
float |
min, |
|
|
const char * |
text |
|
) |
| |
◆ addMapBelow()
| void PhyphoxBleExperiment::Value::addMapBelow |
( |
float |
max, |
|
|
const char * |
text |
|
) |
| |
◆ setChannel()
| void PhyphoxBleExperiment::Value::setChannel |
( |
int |
| ) |
|
◆ setColor()
| void PhyphoxBleExperiment::Value::setColor |
( |
const char * |
| ) |
|
◆ setFactor()
| void PhyphoxBleExperiment::Value::setFactor |
( |
float |
| ) |
|
◆ setMaps()
| void PhyphoxBleExperiment::Value::setMaps |
( |
int |
n, |
|
|
const float * |
mins, |
|
|
const float * |
maxs, |
|
|
const char *const |
texts[] |
|
) |
| |
◆ setPrecision()
| void PhyphoxBleExperiment::Value::setPrecision |
( |
int |
| ) |
|
◆ setScientific()
| void PhyphoxBleExperiment::Value::setScientific |
( |
bool |
| ) |
|
◆ setSize()
| void PhyphoxBleExperiment::Value::setSize |
( |
float |
| ) |
|
◆ setUnit()
| void PhyphoxBleExperiment::Value::setUnit |
( |
const char * |
| ) |
|
◆ inlineMaps
◆ mapCount
| uint8_t PhyphoxBleExperiment::Value::mapCount = 0 |
◆ mapsArray
◆ mapsMaxs
| const float* PhyphoxBleExperiment::Value::mapsMaxs = nullptr |
◆ mapsMins
| const float* PhyphoxBleExperiment::Value::mapsMins = nullptr |
setMaps(): the caller's arrays, read at addExperiment
◆ mapsTexts
| const char* const* PhyphoxBleExperiment::Value::mapsTexts = nullptr |
The documentation for this class was generated from the following file: