Official reference client implementation for Cumulocity SmartREST on u-blox C027.

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Vincent Wochnik

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers OperationSupport.h Source File

OperationSupport.h

00001 #ifndef OPERATIONSUPPORT_H
00002 #define OPERATIONSUPPORT_H
00003 
00004 #include "Operation.h"
00005 #include "SmartRestConf.h"
00006 #include "SmartRestTemplate.h"
00007 
00008 class OperationSupport
00009 {
00010 public:
00011     OperationSupport(SmartRestTemplate& tpl, OperationPool& pool):
00012     _init(false), _tpl(tpl), opool(pool) {}
00013 
00014     bool init();
00015     bool executePendingOperations();
00016 
00017 private:
00018     bool _init;
00019     SmartRestTemplate& _tpl;
00020     OperationPool& opool;
00021 };
00022 
00023 #endif