Extended MaximInterface
Dependents: mbed_DS28EC20_GPIO
Diff: Links/LoggingSleep.hpp
- Revision:
- 6:a8c83a2e6fa4
- Parent:
- 2:dbc089c57059
diff -r caf56f265a13 -r a8c83a2e6fa4 Links/LoggingSleep.hpp --- a/Links/LoggingSleep.hpp Fri Jan 19 10:25:02 2018 -0600 +++ b/Links/LoggingSleep.hpp Wed Jan 23 13:11:04 2019 -0600 @@ -41,7 +41,7 @@ class LoggingSleep : public SleepDecorator { public: - LoggingSleep(const Sleep & sleep, + LoggingSleep(Sleep & sleep, const WriteMessage & writeMessage = WriteMessage()) : SleepDecorator(sleep), writeMessage(writeMessage) {} @@ -49,7 +49,7 @@ this->writeMessage = writeMessage; } - MaximInterface_EXPORT virtual void operator()(int ms) const; + MaximInterface_EXPORT virtual void invoke(int ms) const; private: WriteMessage writeMessage; @@ -57,4 +57,4 @@ } // namespace MaximInterface -#endif \ No newline at end of file +#endif