/* * SignalWatchDogSetup.h * * Created on: 12 окт. 2019 г. * Author: titov */ #ifndef SOURCE_APPLICATION_SCHEMATIC_SIGNALWATCHDOGSETUP_H_ #define SOURCE_APPLICATION_SCHEMATIC_SIGNALWATCHDOGSETUP_H_ #include "../ISetupStep.hh" namespace application { namespace schematic { //! struct SignalWatchDogSetup : public ISetupStep { typedef systemic::ISignal ISignal; ISignal * signal = nullptr; bool input( Environment & env ); void build( Environment & env ); struct Links { Environment::SignalId in_signal_id; Environment::StatusId out_status_id; }; struct Setting { float timeout_in_second; }; const Links & links; const Setting & setting; SignalWatchDogSetup( const Links & links, const Setting & setting ) : links(links), setting(setting) {} }; } /* namespace schematic */ } /* namespace application */ #endif /* SOURCE_APPLICATION_SCHEMATIC_SIGNALWATCHDOGSETUP_H_ */