16#ifndef SYSTEMMANAGER_HPP
17#define SYSTEMMANAGER_HPP
37 QObject *parent =
nullptr);
48 const QString ¤tTime,
49 const QString ¤tDay);
Definition of the IBatteryController interface.
Definition of the ISystemCommandExecutor interface.
Definition of the ISystemInfoProvider interface.
Interface for managing the battery of the vehicle.
Interface for executing system commands and reading files.
Interface for providing system information to the display manager.
void ipAddressUpdated(const QString &ipAddress)
~SystemManager()
Destructor for the SystemManager class.
void batteryPercentageUpdated(float batteryPercentage)
void wifiStatusUpdated(const QString &status, const QString &wifiName)
ISystemCommandExecutor * m_systemCommandExecutor
void timeUpdated(const QString ¤tDate, const QString ¤tTime, const QString ¤tDay)
bool m_ownSystemCommandExecutor
QTimer & getStatusTimer()
bool m_ownSystemInfoProvider
void updateSystemStatus()
Updates the system status.
IBatteryController * m_batteryController
SystemManager(IBatteryController *batteryController=nullptr, ISystemInfoProvider *systemInfoProvider=nullptr, ISystemCommandExecutor *systemCommandExecutor=nullptr, QObject *parent=nullptr)
Constructor for the SystemManager class.
void shutdown()
Shuts down the SystemManager object.
ISystemInfoProvider * m_systemInfoProvider
void temperatureUpdated(const QString &temperature)
void updateTime()
Updates the current time.
bool m_ownBatteryController
void initialize()
Initializes the SystemManager object.