
Own fork of MbedSmartRestMain
Dependencies: C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed
Fork of MbedSmartRestMain by
Diff: operation/OperationExecutor.h
- Revision:
- 62:86a04c5bda18
- Child:
- 64:31a640c32399
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/operation/OperationExecutor.h Wed Oct 29 21:09:29 2014 +0000 @@ -0,0 +1,23 @@ +#ifndef OPERATIONEXECUTOR_H +#define OPERATIONEXECUTOR_H + +#include "AbstractSmartRest.h" +#include "SmartRestTemplate.h" +#include "OperationStore.h" + +class OperationExecutor +{ +public: + OperationExecutor(AbstractSmartRest&, SmartRestTemplate&, long&); + + bool init(); + bool executeOperation(OperationStore::Operation&); + +private: + bool _init; + long& _deviceId; + SmartRestTemplate& _tpl; + AbstractSmartRest& _client; +}; + +#endif \ No newline at end of file