MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/driver/DiscreteOutputStatus.hh
2024-06-07 11:12:56 +03:00

38 lines
757 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* DiscreteOutputStatus.h
*
* Created on: 20 июл. 2018 г.
* Author: krugliy
*/
#ifndef SOURCE_DRIVER_DISCRETEOUTPUTSTATUS_H_
#define SOURCE_DRIVER_DISCRETEOUTPUTSTATUS_H_
#include "IDiscreteOutput.hh"
#include "../systemic/IStatus.hh"
namespace driver {
namespace detail {
class DiscreteOutputStatus {
systemic::IStatus & status;
driver::IDiscreteOutput & discrete_output;
bool do_state;
public:
void process();
DiscreteOutputStatus( systemic::IStatus & _status, driver::IDiscreteOutput & _discrete_output );
DiscreteOutputStatus(const DiscreteOutputStatus & ) = delete;
virtual ~DiscreteOutputStatus() = default;
};
} /* namespace detail */
} /* namespace driver */
#endif /* SOURCE_DRIVER_DISCRETEOUTPUTSTATUS_H_ */