Own fork of MbedSmartRestMain

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Committer:
vwochnik
Date:
Wed Oct 29 21:09:29 2014 +0000
Revision:
62:86a04c5bda18
Child:
64:31a640c32399
introduced operation store

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vwochnik 62:86a04c5bda18 1 #ifndef OPERATIONEXECUTOR_H
vwochnik 62:86a04c5bda18 2 #define OPERATIONEXECUTOR_H
vwochnik 62:86a04c5bda18 3
vwochnik 62:86a04c5bda18 4 #include "AbstractSmartRest.h"
vwochnik 62:86a04c5bda18 5 #include "SmartRestTemplate.h"
vwochnik 62:86a04c5bda18 6 #include "OperationStore.h"
vwochnik 62:86a04c5bda18 7
vwochnik 62:86a04c5bda18 8 class OperationExecutor
vwochnik 62:86a04c5bda18 9 {
vwochnik 62:86a04c5bda18 10 public:
vwochnik 62:86a04c5bda18 11 OperationExecutor(AbstractSmartRest&, SmartRestTemplate&, long&);
vwochnik 62:86a04c5bda18 12
vwochnik 62:86a04c5bda18 13 bool init();
vwochnik 62:86a04c5bda18 14 bool executeOperation(OperationStore::Operation&);
vwochnik 62:86a04c5bda18 15
vwochnik 62:86a04c5bda18 16 private:
vwochnik 62:86a04c5bda18 17 bool _init;
vwochnik 62:86a04c5bda18 18 long& _deviceId;
vwochnik 62:86a04c5bda18 19 SmartRestTemplate& _tpl;
vwochnik 62:86a04c5bda18 20 AbstractSmartRest& _client;
vwochnik 62:86a04c5bda18 21 };
vwochnik 62:86a04c5bda18 22
vwochnik 62:86a04c5bda18 23 #endif