/* * IDiscreteOutput.cpp * * Created on: 29 нояб. 2018 г. * Author: titov */ #include "IDiscreteOutput.hh" driver::IDiscreteOutput & driver::getDummyOutput() { static class DiscreteOutputDummy : public IDiscreteOutput { void on() {} void off() {} bool isOn() const { return false; } } dummy; return dummy; };