Own fork of MbedSmartRestMain

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

Committer:
xinlei
Date:
Mon Aug 08 11:05:57 2016 +0000
Revision:
138:f8ab852e83e7
Parent:
107:f1ee3e1eb126
Etisalat and Teleena APN.

Who changed what in which revision?

UserRevisionLine numberNew contents of line
vwochnik 57:4af5f1bec3a6 1 #ifndef OPERATIONSUPPORT_H
vwochnik 57:4af5f1bec3a6 2 #define OPERATIONSUPPORT_H
vwochnik 57:4af5f1bec3a6 3
xinlei 93:61d44636f020 4 #include "Operation.h"
xinlei 106:fc5f25f0e0d5 5 #include "SmartRestConf.h"
vwochnik 57:4af5f1bec3a6 6 #include "SmartRestTemplate.h"
vwochnik 57:4af5f1bec3a6 7
vwochnik 57:4af5f1bec3a6 8 class OperationSupport
vwochnik 57:4af5f1bec3a6 9 {
vwochnik 57:4af5f1bec3a6 10 public:
xinlei 107:f1ee3e1eb126 11 OperationSupport(SmartRestTemplate& tpl, OperationPool& pool):
xinlei 107:f1ee3e1eb126 12 _init(false), _tpl(tpl), opool(pool) {}
xinlei 106:fc5f25f0e0d5 13
xinlei 107:f1ee3e1eb126 14 bool init();
xinlei 106:fc5f25f0e0d5 15 bool executePendingOperations();
vwochnik 60:3c822f97fc73 16
vwochnik 57:4af5f1bec3a6 17 private:
xinlei 93:61d44636f020 18 bool _init;
vwochnik 57:4af5f1bec3a6 19 SmartRestTemplate& _tpl;
xinlei 93:61d44636f020 20 OperationPool& opool;
vwochnik 57:4af5f1bec3a6 21 };
vwochnik 57:4af5f1bec3a6 22
vwochnik 57:4af5f1bec3a6 23 #endif