phyphox BLE
Plot your Arduino's data in the phyphox app and control the board from the phone
Loading...
Searching...
No Matches
ElementData.h File Reference
Include dependency graph for ElementData.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  phyphox::SubgraphData
 One curve of a graph. Channel 0 is the phone's arrival time, 1…5 the data channels. More...
 
struct  phyphox::GraphData
 
struct  phyphox::MapEntry
 A value map entry (text shown while min <= value <= max) or a dropdown option (text + value). More...
 
struct  phyphox::ValueData
 
struct  phyphox::InputCommon
 Common part of every element that writes into an input channel (edit, slider, dropdown, toggle, button). More...
 
struct  phyphox::EditData
 
struct  phyphox::SliderData
 
struct  phyphox::DropdownData
 
struct  phyphox::ToggleData
 
struct  phyphox::ButtonData
 
struct  phyphox::InfoData
 
struct  phyphox::SeparatorData
 
struct  phyphox::ElementData
 One view element. label and xmlAttribute are common to all; the union holds the rest. More...
 
struct  phyphox::ViewData
 
struct  phyphox::ExportDataData
 
struct  phyphox::ExportSetData
 
struct  phyphox::SensorData
 
struct  phyphox::ExperimentData
 The whole experiment. More...
 

Namespaces

namespace  phyphox
 

Typedefs

typedef void(* phyphox::ChangeCallback) (float value)
 Callback types. Plain function pointers (captureless lambdas convert), never std::function.
 
typedef void(* phyphox::PressCallback) ()
 
typedef const char * phyphox::Color
 A colour is six hex digits, validated by the setter; nullptr means "not set".
 

Enumerations

enum  phyphox::ElementType : uint8_t {
  phyphox::EL_NONE = 0 , phyphox::EL_GRAPH , phyphox::EL_VALUE , phyphox::EL_EDIT ,
  phyphox::EL_SLIDER , phyphox::EL_DROPDOWN , phyphox::EL_TOGGLE , phyphox::EL_BUTTON ,
  phyphox::EL_INFO , phyphox::EL_SEPARATOR
}
 
enum  phyphox::Style : uint8_t {
  phyphox::STYLE_NONE = 0 , phyphox::ST_LINES , phyphox::ST_DOTS , phyphox::ST_VBARS ,
  phyphox::ST_HBARS , phyphox::ST_MAP
}
 
enum  phyphox::Layout : uint8_t { phyphox::LAYOUT_NONE = 0 , phyphox::LY_AUTO , phyphox::LY_EXTEND , phyphox::LY_FIXED }
 
enum  phyphox::Align : uint8_t { phyphox::ALIGN_NONE = 0 , phyphox::AL_LEFT , phyphox::AL_RIGHT , phyphox::AL_CENTER }
 
enum  phyphox::SensorComponent : uint8_t {
  phyphox::COMP_NONE = 0 , phyphox::COMP_X , phyphox::COMP_Y , phyphox::COMP_Z ,
  phyphox::COMP_ABS , phyphox::COMP_ACCURACY , phyphox::COMP_T
}