Hotwheels-Cluster 1.2
Creation of Cluster APP for SEA:ME project.
 
Loading...
Searching...
No Matches
SystemInfoProvider.hpp
Go to the documentation of this file.
1
15
16#ifndef SYSTEMINFOPROVIDER_HPP
17#define SYSTEMINFOPROVIDER_HPP
18
21
27{
28public:
29 explicit SystemInfoProvider(ISystemCommandExecutor *executor = nullptr);
30 ~SystemInfoProvider() override;
31
32 QString getWifiStatus(QString &wifiName) const override;
33 QString getTemperature() const override;
34 QString getIpAddress() const override;
35
36private:
39};
40
41#endif // SYSTEMINFOPROVIDER_HPP
Definition of the ISystemCommandExecutor interface.
Definition of the ISystemInfoProvider interface.
Interface for executing system commands and reading files.
Interface for providing system information to the display manager.
~SystemInfoProvider() override
Destructor for the SystemInfoProvider class.
QString getWifiStatus(QString &wifiName) const override
Gets the current WiFi status.
ISystemCommandExecutor * m_executor
QString getIpAddress() const override
Gets the current IP address of the WiFi interface.
SystemInfoProvider(ISystemCommandExecutor *executor=nullptr)
Constructor for the SystemInfoProvider class.
QString getTemperature() const override
Gets the current temperature in degrees Celsius.