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/SetpointControl.h
- Revision:
- 5:5e77a1db4d45
- Child:
- 10:38d8ece439da
- Child:
- 11:0695c1091129
- Child:
- 12:ea87887ca7ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/src/ConfigurationHandler/Controls/SetpointControl.h Tue Sep 06 19:20:39 2016 +0000 @@ -0,0 +1,27 @@ +/****************************************************************************** + * + * File: SetpointControl.h + * Desciption: ICE Timer Control Class + * + *****************************************************************************/ +#ifndef SETPOINTCONTROL_H +#define SETPOINTCONTROL_H + +#include <string> + +class SetpointControl +{ +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: + SetpointControl(const char* filename) : controlFile(filename) + { + printf("\r%s: SetpointControl instantiated with controlFile %s\n", + __func__, controlFile.c_str()); + } + string getControlFile(void) { return controlFile; } +}; + +#endif