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/CompositeControl.h
- Revision:
- 164:7cecd731882e
- Child:
- 195:21df85341cb3
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/src/ConfigurationHandler/Controls/CompositeControl.h Fri Sep 30 21:05:11 2016 +0000
@@ -0,0 +1,42 @@
+/******************************************************************************
+ *
+ * File: CompositeControl.h
+ * Desciption: ICE Composite Control Class
+ *
+ *****************************************************************************/
+#ifndef COMPOSITECONTROL_H
+#define COMPOSITECONTROL_H
+
+#include <string>
+#include <vector>
+#include <stdio.h>
+
+class CompositeControl
+{
+private:
+ std::string controlFile; // the control file
+ std::string id; // composite identifier
+ std::string input; // (virtual) input
+ std::vector<std::string> outputs; // multi-out
+public:
+ CompositeControl() { }
+ ~CompositeControl() { printf("\r%s invoked\n", __func__); }
+
+ bool load(std::string controlFile);
+
+ std::string getControlFile(void) const {
+ return controlFile;
+ }
+ std::string getId(void) const {
+ return id;
+ }
+ std::string getInput(void) const {
+ return input;
+ }
+ std::vector<std::string> getOutputs(void) const;
+
+ // unregister the control with the output task
+ void unregisterControl(void);
+};
+
+#endif
