summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorManuel Traut <manut@mecka.net>2012-06-02 17:20:58 +0200
committerManuel Traut <manut@mecka.net>2012-06-02 17:20:58 +0200
commit844056b16ff8557c72138f920d57e4ce833b204a (patch)
tree7d847bd2bf9672371342d86ef451969378401400
parent1c4fbd35ba335ed338a680fdffc0db6de576a7a4 (diff)
remove controller.idl
content now in manager.idl Signed-off-by: Manuel Traut <manut@mecka.net>
-rw-r--r--interfaces/controller.idl51
1 files changed, 0 insertions, 51 deletions
diff --git a/interfaces/controller.idl b/interfaces/controller.idl
deleted file mode 100644
index 6ae1c8c..0000000
--- a/interfaces/controller.idl
+++ /dev/null
@@ -1,51 +0,0 @@
-#ifndef DISTRIO_CONTROLLER_IDL
-#define DISTRIO_CONTROLLER_IDL
-
-#include "common.idl"
-#include "io.idl"
-
-/**
- * @brief logical view of IO's and Devices (not HW specific)
- *
- * @author Manuel Traut <manut@mecka.net>
- * @copyright GPLv2
- */
-
-module Controller {
-
-/**
- * @brief manage io/device lists, error handling
- *
- * - all modules need to register their IOs and devices
- * - registered IOs and devices can be obtained
- */
- interface Manager {
- /** returns list of registered digital IOs */
- Common::Error digital (out IO::Digital_list io_list);
- /** returns list of registered analog IOs */
- Common::Error analog (out IO::Analog_list io_list);
- /** returns list of registered devices */
- Common::Error device (out IO::Device_list dev_list);
- /** register a digital IO */
- Common::Error register_io_digital (in IO::Analog io_ana);
- /** register a analog IO */
- Common::Error register_io_analog (in IO::Digital io_dig);
- /** register a device */
- Common::Error register_io_device (in IO::Device io_dev);
- /** unregister a digital IO */
- Common::Error unregister_io_digital (in IO::Digital io_dig);
- /** unregister a analog IO */
- Common::Error unregister_io_analog (in IO::Analog io_ana);
- /** unregister a device */
- Common::Error unregister_io_device (in IO::Device io_dev);
- /** used by modules to send errors to a central point
- * The implementation of this function could:
- * - thispatch errors to a GUI
- * - log the errors e.g. with log4*
- */
- void log_error (in Common::Error error);
- };
-
-};
-
-#endif