Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: NaturalTinyShell_ice libmDot-12Sept mbed-rtos mbed
Fork of ICE by
Diff: src/ConfigurationHandler/Controls/TimerControl.h
- Revision:
- 19:9bc8fabeddfa
- Parent:
- 12:ea87887ca7ad
- Child:
- 20:653923c2f37a
--- a/src/ConfigurationHandler/Controls/TimerControl.h Wed Sep 07 19:04:16 2016 +0000 +++ b/src/ConfigurationHandler/Controls/TimerControl.h Wed Sep 07 19:40:17 2016 +0000 @@ -9,6 +9,8 @@ #include <string> +using namespace std; + class TimerControl { private: @@ -16,13 +18,11 @@ 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() {}; ~TimerControl() { printf("\r%s destructor invoked\n", __func__); } + bool Load(string filename); string getControlFile(void) { return controlFile; }