cleaning up header file above OutputHandler
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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:
|
||||
|
||||
Reference in New Issue
Block a user