summaryrefslogtreecommitdiff
path: root/Controller/Component/Controller.idl
diff options
context:
space:
mode:
Diffstat (limited to 'Controller/Component/Controller.idl')
-rw-r--r--Controller/Component/Controller.idl62
1 files changed, 62 insertions, 0 deletions
diff --git a/Controller/Component/Controller.idl b/Controller/Component/Controller.idl
new file mode 100644
index 00000000000..7362a9c7875
--- /dev/null
+++ b/Controller/Component/Controller.idl
@@ -0,0 +1,62 @@
+#ifndef RACE_CONTROLLER_IDL
+#define RACE_CONTROLLER_IDL
+
+/**
+ * @file Controller.idl
+ *
+ * @brief Controller Component of RACE.
+ *
+ * This file declares a Controller of the RACE framework.
+ *
+ * @author Nishanth Shankaran <nshankar@dre.vanderbilt.edu>
+ */
+
+#include <Components.idl>
+#include "ciao/Target_Data.idl"
+#include "TargetManager/TargetManagerExt.idl"
+#include "Interface.idl"
+#include "RACE/Monitor/Central_Monitor/Monitor.idl"
+
+/**
+ * @module CIAO
+ * @brief The CIAO module.
+ */
+
+module CIAO
+{
+ module RACE
+ {
+
+ struct component_info
+ {
+ string id;
+ string node;
+ };
+
+ /**
+ * @component Controller
+ * @brief The Controller component of RACE.
+ */
+
+ component Controller supports Trigger
+ {
+ /// Obtain resource utilization infromation from the target manager.
+ uses CIAO::TargetManagerExt target_mgr_ext;
+ uses Deployment::TargetManager target_mgr;
+
+ uses ::CIAO::RACE::Execution_Time_Monitor monitor;
+
+
+ /// Facet to which the descrpters can be pushed.
+ provides Descriptors descriptors;
+
+ /// The sampling period of the controller.
+ readonly attribute long sampling_period;
+ };
+
+ home Controller_Home manages Controller
+ {
+ };
+ };
+};
+#endif /* RACE_CONTROLLER_IDL */