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
Diff: operation/ControlParser.h
- Revision:
- 96:5dfdc8568e9f
- Parent:
- 95:010b0f7a0a1a
- Child:
- 99:e369fc75c000
--- a/operation/ControlParser.h Wed Apr 22 11:22:25 2015 +0000 +++ b/operation/ControlParser.h Mon Apr 27 10:50:21 2015 +0000 @@ -3,7 +3,6 @@ #include "Operation.h" #include "lex.h" #include "DeviceFeedback.h" -#include "LCDDisplay.h" #include "ConfigurationSynchronization.h" enum BayeuxAdvice{ BA_RETRY, BA_HANDSHAKE, BA_NONE }; @@ -13,10 +12,10 @@ class ControlParser { public: - ControlParser(OperationPool& pool, LCDDisplay& lcdDisplay, + ControlParser(OperationPool& pool, ConfigurationSynchronization& configSync): opType(0), bayeuxAdvice(BA_RETRY), bayeuxTimeout(-1), bayeuxInterval(0), - opool(pool), _lcdDisplay(lcdDisplay), _configSync(configSync) {} + opool(pool), _configSync(configSync) {} virtual ~ControlParser() {} BayeuxAdvice getBayeuxAdvice() const { return bayeuxAdvice; } int getBayeuxInterval() const { return bayeuxInterval; } @@ -45,7 +44,6 @@ int bayeuxInterval; PtrParseFunc ptrPF; OperationPool& opool; - LCDDisplay& _lcdDisplay; ConfigurationSynchronization& _configSync; };