Own fork of MbedSmartRestMain

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Cumulocity Official

operation/OperationExecutor.h

Committer:
vwochnik
Date:
2014-10-29
Revision:
62:86a04c5bda18
Child:
64:31a640c32399

File content as of revision 62:86a04c5bda18:

#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