diff options
| author | Manuel Traut <manut@mecka.net> | 2012-06-02 18:40:19 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2012-06-02 18:40:19 +0200 |
| commit | 89e787c826890aed88f632b1fd5cf4f65541067f (patch) | |
| tree | f509b54ec7a5c44471da7634972f4ef8822cf726 /interfaces/common.idl | |
| parent | 3fc5a341321c4c042bb464dbb1f62856fc2d31a4 (diff) | |
fix includes paths, etc
common, io, manager can be build now
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'interfaces/common.idl')
| -rw-r--r-- | interfaces/common.idl | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/interfaces/common.idl b/interfaces/common.idl deleted file mode 100644 index ded0d1e..0000000 --- a/interfaces/common.idl +++ /dev/null @@ -1,59 +0,0 @@ -#ifndef DISTRIO_COMMON_IDL -#define DISTRIO_COMMON_IDL - -/** - * @brief shared between different modules - * - * - definitions for error handling - * - * @author Manuel Traut <manut@mecka.net> - * @copyright GPLv2 - * - */ -module Distrio { - -/** - * @brief kind of error - */ - enum Error_code { - SUCCESS, - EINVAL, - ENOTSUPPORTED - }; - -/** - * @brief used for filtering and classification - */ - enum Error_level { - DEBUG, - INFO, - WARNING, - NORMAL, - CRITICAL - }; - -/** - * @brief describes when the error was detected - * (it's helpful to sync all boards with ntp) - */ - struct Error_timestamp { - long seconds; - long nanoseconds; - }; - -/** - * @brief description of an error - */ - struct Error { - Error_code code; - Error_level level; - Error_timestamp time; - /** id of the digital/analog IO or the IO device */ - long module_id; - /** a human readable description which can be displayed in GUIs */ - string description; - }; - -}; - -#endif |
