GuiInterface.h
/** * (c)2017 CDP Technologies AS */ #ifndef TANKCONTROLLIB_GUIINTERFACE_H #define TANKCONTROLLIB_GUIINTERFACE_H #include <CDPSystem/Base/CDPComponent.h> #include <Signal/CDPSignal.h> #include <CDPParameter/CDPParameter.h> #include <CDPAlarm/CDPAlarm.h> #include <CDPSystem/Base/CDPConnector.h> namespace TankControlLib { class GuiInterface : public CDPComponent { public: GuiInterface(); ~GuiInterface() override; void Create(const char* fullName) override; void CreateModel() override; void Configure(const char* componentXML) override; void ProcessNull() override; int MessageForwardMessage(void* message); protected: CDPSignal<bool> Pause; CDPConnector FishTank1; CDPConnector FishTank2; using CDPComponent::requestedState; using CDPComponent::ts; using CDPComponent::fs; }; } // namespace TankControlLib #endif
Get started with CDP Studio today
Let us help you take your great ideas and turn them into the products your customer will love.