Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
11:0695c1091129
Parent:
5:5e77a1db4d45
--- a/src/ConfigurationHandler/Controls/SetpointControl.h	Tue Sep 06 19:35:50 2016 +0000
+++ b/src/ConfigurationHandler/Controls/SetpointControl.h	Wed Sep 07 12:06:02 2016 +0000
@@ -1,7 +1,7 @@
 /******************************************************************************
  *
  * File:                SetpointControl.h
- * Desciption:          ICE Timer Control Class
+ * Desciption:          ICE Setpoint Control Class
  *
  *****************************************************************************/
 #ifndef SETPOINTCONTROL_H
@@ -12,15 +12,18 @@
 class SetpointControl
 {
 private:
+    // TODO: populate with the correct data 
     string          controlFile;        // name of the control file
     unsigned int    interval;           // interval at which we run
     unsigned int    priority;           // priority at which we run
 public:
-    SetpointControl(const char* filename) : controlFile(filename)
-    {
-        printf("\r%s: SetpointControl instantiated with controlFile %s\n",
+    SetpointControl(const char* filename) : controlFile(filename) {
+        printf("\r%s instantiated with controlFile %s\n",
             __func__, controlFile.c_str());
     }
+    ~SetpointControl() {
+        printf("\r%s invoked!\n", __func__);
+    }
     string getControlFile(void) { return controlFile; } 
 };