mbed Connector Interface simplification API on top of mbed-client
Fork of mbedConnectorInterfaceV3 by
NOTE:
This repo has been replaced with https://github.com/ARMmbed/mbedConnectorInterface. No further updates will occur with this repo. Please use the github repo instead. Thanks!
Diff: mbed-connector-interface/ResourceObserver.h
- Revision:
- 54:dfee8691c83a
- Parent:
- 33:1d0b855df5a5
--- a/mbed-connector-interface/ResourceObserver.h Mon Aug 08 19:02:00 2016 +0000 +++ b/mbed-connector-interface/ResourceObserver.h Tue Aug 09 17:18:49 2016 +0000 @@ -64,10 +64,16 @@ get our sleep time */ int getSleepTime(); + + /** + halt the underlying observer mechanism + */ + virtual void halt(); protected: DynamicResource *getResource(); void setObserving(bool observing); + Logger *logger(); private: DynamicResource *m_resource;