phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
Loading...
Searching...
No Matches
PhyphoxBleExperiment::InfoField Class Reference

#include <phyphoxBleExperiment.h>

Inheritance diagram for PhyphoxBleExperiment::InfoField:

Public Member Functions

 InfoField ()
 
 InfoField (const char *text)
 
void setInfo (const char *)
 the text (the info element's label)
 
void setColor (const char *)
 
void setSize (float)
 
void setAlign (const char *leftRightCenter)
 
void setBold (bool)
 
void setItalic (bool)
 
- Public Member Functions inherited from PhyphoxBleExperiment::Element
 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
 

Additional Inherited Members

- Public Attributes inherited from PhyphoxBleExperiment::Element
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 inherited from PhyphoxBleExperiment::Element
 Element (phyphox::ElementType t)
 
- Protected Attributes inherited from PhyphoxBleExperiment::Element
phyphox::ElementData data_
 

Constructor & Destructor Documentation

◆ InfoField() [1/2]

PhyphoxBleExperiment::InfoField::InfoField ( )
inline

◆ InfoField() [2/2]

PhyphoxBleExperiment::InfoField::InfoField ( const char *  text)
inlineexplicit

Member Function Documentation

◆ setAlign()

void PhyphoxBleExperiment::InfoField::setAlign ( const char *  leftRightCenter)

◆ setBold()

void PhyphoxBleExperiment::InfoField::setBold ( bool  )

◆ setColor()

void PhyphoxBleExperiment::InfoField::setColor ( const char *  )

◆ setInfo()

void PhyphoxBleExperiment::InfoField::setInfo ( const char *  )

the text (the info element's label)

◆ setItalic()

void PhyphoxBleExperiment::InfoField::setItalic ( bool  )

◆ setSize()

void PhyphoxBleExperiment::InfoField::setSize ( float  )

The documentation for this class was generated from the following file: