16#ifndef DATAMANAGER_HPP
17#define DATAMANAGER_HPP
49 const QString ¤tTime,
50 const QString ¤tDay);
51 void handleWifiData(
const QString &status,
const QString &wifiName);
65 const QString ¤tTime,
66 const QString ¤tDay);
File containing the ClusterSettingsManager class.
Definition of the SystemDataManager class.
Definition of the VehicleDataManager class.
DrivingMode
Enum class for the driving mode.
CarDirection
Enum class for the car direction.
ClusterTheme
Enum class for the cluster theme.
ClusterMetrics
Enum class for the cluster metrics.
Class that manages the cluster settings.
void handleTimeData(const QString ¤tDate, const QString ¤tTime, const QString ¤tDay)
Handle Time data.
void batteryPercentageUpdated(float batteryPercentage)
void toggleClusterMetrics()
Toggle the cluster metrics.
void handleIpAddressData(const QString &ipAddress)
Handle IP Address data.
VehicleDataManager * m_vehicleDataManager
void engineDataProcessed(CarDirection processedDirection, int processedAngle)
~DataManager()
Destroy the DataManager::DataManager object.
SystemDataManager * m_systemDataManager
void mileageUpdated(double mileage)
ClusterSettingsManager * getClusterSettingsManager()
SystemDataManager * getSystemDataManager()
void ipAddressUpdated(const QString &ipAddress)
void drivingModeUpdated(DrivingMode newMode)
void canDataProcessed(float processedSpeed, int processedRpm)
void toggleDrivingMode()
Toggle the driving mode.
void handleTemperatureData(const QString &temperature)
Handle Temperature data.
ClusterSettingsManager * m_clusterSettingsManager
void toggleClusterTheme()
Toggle the cluster theme.
void handleSteeringData(int rawAngle)
Handle Steering data.
void handleRpmData(int rawRpm)
Handle CAN data.
void handleSpeedData(float rawSpeed)
Handle Speed data.
void handleMileageUpdate(double mileage)
Handle Engine data.
void handleWifiData(const QString &status, const QString &wifiName)
Handle WiFi data.
void systemTimeUpdated(const QString ¤tDate, const QString ¤tTime, const QString ¤tDay)
void handleBatteryPercentage(float batteryPercentage)
Handle Battery Percentage data.
void clusterThemeUpdated(ClusterTheme newTheme)
VehicleDataManager * getVehicleDataManager()
void clusterMetricsUpdated(ClusterMetrics newMetrics)
void systemTemperatureUpdated(const QString &temperature)
void systemWifiUpdated(const QString &status, const QString &wifiName)
void handleDirectionData(CarDirection rawDirection)
Handle Direction data.
DataManager(QObject *parent=nullptr)
Construct a new DataManager::DataManager object.
Class that manages the data received from the car's systems. QObject.
Class that manages the data received from the car's systems. QObject.
Definition of the enums used in the application.