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/MinarResourceObserver.h
- Revision:
- 122:4072e03884e4
- Parent:
- 54:dfee8691c83a
--- a/mbed-connector-interface/MinarResourceObserver.h Fri Mar 31 06:21:29 2017 +0000 +++ b/mbed-connector-interface/MinarResourceObserver.h Thu Jul 13 18:48:54 2017 +0000 @@ -26,6 +26,8 @@ // mbedConnectorInterface configuration #include "mbed-connector-interface/mbedConnectorInterface.h" +#if defined (MCI_MINAR_SCHEDULER) + // mbed support #if defined(MCI_USE_YOTTA) // mbed support @@ -35,8 +37,6 @@ #include "mbed.h" #endif -#if defined(MCI_MINAR_SCHEDULER) - // Base class support #include "mbed-connector-interface/ResourceObserver.h" @@ -65,9 +65,9 @@ virtual void stopObservation(); /** - perform the observation (iteration) + observation task method */ - void perform_observation(); + void observation_task(); /** halt the underlying observer mechanism