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

22 lines
367 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.

/*
* 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;
};