|
phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
|
Base of every view element. Holds the plain data the serializer reads. More...
#include <phyphoxBleExperiment.h>

Public Member Functions | |
| 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 |
Public Attributes | |
| Element * | next = nullptr |
| intrusive list link, set by View::addElement() | |
| View * | owner = nullptr |
| the view whose list holds this object (set by addElement) | |
| const Element * | aliasOf = nullptr |
| An element added to a second view is represented there by a small heap-allocated alias that points back at the original — the store reads the original's data. | |
Protected Member Functions | |
| Element (phyphox::ElementType t) | |
Protected Attributes | |
| phyphox::ElementData | data_ |
Base of every view element. Holds the plain data the serializer reads.
|
delete |
|
inlinevirtual |
|
inlineexplicitprotected |
|
inline |
|
inline |
|
inlinevirtual |
Reimplemented in PhyphoxBleExperiment::ExportData.
|
virtual |
Reimplemented in PhyphoxBleExperiment::ExportData.
| void PhyphoxBleExperiment::Element::setVisibility | ( | int | inputChannel | ) |
Show the element only while the last value in that input channel is > 0 (a toggle's channel, typically).
Format 1.20.
| void PhyphoxBleExperiment::Element::setXMLAttribute | ( | const char * | ) |
Raw attribute text appended verbatim to the element's start tag, e.g.
setXMLAttribute("logY=\"true\""). The escape hatch for anything the API lacks; the library does not validate it.
| const Element* PhyphoxBleExperiment::Element::aliasOf = nullptr |
An element added to a second view is represented there by a small heap-allocated alias that points back at the original — the store reads the original's data.
(1.x copied the XML at addElement(), so the same Graph in two views was normal.)
|
protected |
| Element* PhyphoxBleExperiment::Element::next = nullptr |
intrusive list link, set by View::addElement()
| View* PhyphoxBleExperiment::Element::owner = nullptr |
the view whose list holds this object (set by addElement)