Extended MaximInterface
Dependents: mbed_DS28EC20_GPIO
Diff: Links/LoggingSleep.hpp
- Revision:
- 8:211d1b8f730c
- Parent:
- 6:a8c83a2e6fa4
diff -r 3523abdda8ed -r 211d1b8f730c Links/LoggingSleep.hpp --- a/Links/LoggingSleep.hpp Tue Jul 24 08:33:31 2018 +0000 +++ b/Links/LoggingSleep.hpp Wed Apr 03 12:33:10 2019 +0000 @@ -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