cleaning up header file above OutputHandler

This commit is contained in:
2026-07-23 16:50:18 +02:00
parent 4f60fddd64
commit ed3b7db91a
2 changed files with 14 additions and 1 deletions
+7
View File
@@ -16,6 +16,9 @@ class InputHandler {
std::optional<midas::odb> hotlink;
/*
Internal value setters
*/
void setPath(std::string name);
void updateSPIndex(int index);
void updateTemperatureIndex(int index);
@@ -23,12 +26,16 @@ class InputHandler {
void setHotlink();
/*
Pull value from the ODB
*/
void pullSPValue();
void pullTemperatureValue();
void pullPowerValue();
public:
InputHandler(EventBus &eventBusReference);
enum class EventType {
SP_VALUE,
TEMPERATURE_VALUE,
+7 -1
View File
@@ -13,11 +13,17 @@ class OutputHandler {
std::string equipmentPath;
float pressure;
int outputPressureSPIndex;
/*
Internal value setters
*/
void enableSetPressure(bool enable);
void setPressure(float value);
void setOutputPressureSPIndex(int index);
void setEquipmentPath(std::string equipmentName);
/*
Update value of the ODB
*/
void update();
public: