CCIMXDesktop
 
Loading...
Searching...
No Matches
SportsChart Class Reference

Widget for displaying sports sensor data charts. More...

#include <SportsChart.h>

Inheritance diagram for SportsChart:

Public Slots

void flush_one_request ()
 Request one data sample update from the sensor.
 

Signals

void fetch_once_data (const ICM20608AppData data)
 Signal emitted when new sensor data is fetched.
 

Public Member Functions

 SportsChart (QWidget *parent=nullptr)
 Constructs the SportsChart widget.
 
 ~SportsChart ()
 Destructor for SportsChart.
 

Detailed Description

Widget for displaying sports sensor data charts.

This widget fetches data from the ICM20608 sensor via the data factory, and displays acceleration and rotation data over time using Qt Charts.

Constructor & Destructor Documentation

◆ SportsChart()

SportsChart::SportsChart ( QWidget *  parent = nullptr)
explicit

Constructs the SportsChart widget.

Parameters
parentParent widget pointer.

Member Function Documentation

◆ fetch_once_data

void SportsChart::fetch_once_data ( const ICM20608AppData  data)
signal

Signal emitted when new sensor data is fetched.

Parameters
dataThe ICM20608 sensor data.

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