
Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
operation/OperationExecutor.h
- Committer:
- vwochnik
- Date:
- 2014-10-30
- Revision:
- 65:a62dbef2f924
- Parent:
- 64:31a640c32399
- Child:
- 66:31c754c36ed7
File content as of revision 65:a62dbef2f924:
#ifndef OPERATIONEXECUTOR_H #define OPERATIONEXECUTOR_H #include "AbstractSmartRest.h" #include "SmartRestTemplate.h" #include "OperationStore.h" #include "DeviceIO.h" class OperationExecutor { public: OperationExecutor(AbstractSmartRest&, SmartRestTemplate&, long&, DeviceIO&); bool init(); bool executeOperation(OperationStore::Operation&); protected: bool executeRelayStateUpdate(bool relayState); private: bool _init; long& _deviceId; SmartRestTemplate& _tpl; AbstractSmartRest& _client; DeviceIO& _io; }; #endif