Cumulocity Official / Mbed 2 deprecated MbedSmartRestMain Featured

Dependencies:   C027_Support C12832 LM75B MMA7660 MbedSmartRest mbed-rtos mbed

Fork of MbedSmartRestMain by Vincent Wochnik

Committer:
vwochnik
Date:
Thu Oct 23 12:50:07 2014 +0000
Revision:
55:a0f7295ed6b6
Parent:
47:89ae46d5c466
thread safe smartrest

Who changed what in which revision?

UserRevisionLine numberNew contents of line
Cumulocity 47:89ae46d5c466 1 #ifndef LOCATIONUPDATE_H
Cumulocity 47:89ae46d5c466 2 #define LOCATIONUPDATE_H
Cumulocity 47:89ae46d5c466 3
vwochnik 55:a0f7295ed6b6 4 #include "AbstractSmartRest.h"
Cumulocity 47:89ae46d5c466 5 #include "SmartRestTemplate.h"
Cumulocity 47:89ae46d5c466 6 #include "GPSTracker.h"
Cumulocity 47:89ae46d5c466 7
Cumulocity 47:89ae46d5c466 8 class LocationUpdate
Cumulocity 47:89ae46d5c466 9 {
Cumulocity 47:89ae46d5c466 10 public:
vwochnik 55:a0f7295ed6b6 11 LocationUpdate(AbstractSmartRest&, SmartRestTemplate&, long&, GPSTracker&);
Cumulocity 47:89ae46d5c466 12
Cumulocity 47:89ae46d5c466 13 bool init();
Cumulocity 47:89ae46d5c466 14 bool run();
Cumulocity 47:89ae46d5c466 15
Cumulocity 47:89ae46d5c466 16 private:
Cumulocity 47:89ae46d5c466 17 bool _init;
Cumulocity 47:89ae46d5c466 18 long& _deviceId;
Cumulocity 47:89ae46d5c466 19 SmartRestTemplate& _tpl;
vwochnik 55:a0f7295ed6b6 20 AbstractSmartRest& _client;
Cumulocity 47:89ae46d5c466 21 GPSTracker& _gpsTracker;
Cumulocity 47:89ae46d5c466 22 };
Cumulocity 47:89ae46d5c466 23
Cumulocity 47:89ae46d5c466 24 #endif