Erick / Mbed 2 deprecated ICE_BLE_TEST

Dependencies:   NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed

Fork of ICE by Erick

Revision:
12:ea87887ca7ad
Child:
19:9bc8fabeddfa
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ConfigurationHandler/Controls/TimerControl.h	Wed Sep 07 13:22:28 2016 +0000
@@ -0,0 +1,31 @@
+/******************************************************************************
+ *
+ * File:                TimerControl.h
+ * Desciption:          ICE Timer Control Class
+ *
+ *****************************************************************************/
+#ifndef TIMERCONTROL_H
+#define TIMERCONTROL_H
+
+#include <string>
+
+class TimerControl
+{
+private:
+    string          controlFile;        // name of the control file
+    unsigned int    interval;           // interval at which we run
+    unsigned int    priority;           // priority at which we run
+public:
+    TimerControl(string filename) : controlFile(filename) {
+        printf("\r%s instantiated with control file %s\n",
+               __func__, controlFile.c_str());
+    }
+    ~TimerControl() {
+        printf("\r%s destructor invoked\n", __func__);
+    }
+    string getControlFile(void) {
+        return controlFile;
+    }
+};
+
+#endif