diff options
| author | Manuel Traut <manut@mecka.net> | 2012-06-03 02:56:00 +0200 |
|---|---|---|
| committer | Manuel Traut <manut@mecka.net> | 2012-06-03 02:56:00 +0200 |
| commit | 008f8c3240b0ee70dfbba4898f56f57529334945 (patch) | |
| tree | 0bca21a93f4f7e39312bf45467a7ab810b2a1beb /interfaces/distrio_io.idl | |
| parent | 50d93b3af6ed78b092f4610716cfdbe8ca4251f7 (diff) | |
io: add timestamps to analog/digital interfaces
- used to store time of last update
Signed-off-by: Manuel Traut <manut@mecka.net>
Diffstat (limited to 'interfaces/distrio_io.idl')
| -rw-r--r-- | interfaces/distrio_io.idl | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/interfaces/distrio_io.idl b/interfaces/distrio_io.idl index 25d69a8..7c483be 100644 --- a/interfaces/distrio_io.idl +++ b/interfaces/distrio_io.idl @@ -34,7 +34,9 @@ module Distrio { Distrio::Error get (out long value); /** register a callback that is called if the state of the pin changes */ Distrio::Error register_callback (in Device dev, in Digital_trigger trigger); - /** the id is given by Controller::Manager during registration */ + /** stores a timestamp of the last update of the referenced value */ + attribute Distrio::Timestamp last_update; + /** the id is given by Distrio::Manager during registration */ attribute long id; }; @@ -62,6 +64,9 @@ module Distrio { Distrio::Error get (out long value); /** register a callback that is called if the trigger matches */ Distrio::Error register_callback (in Device dev, in Analog_trigger trigger); + /** stores a timestamp of the last update of the referenced value */ + attribute Distrio::Timestamp last_update; + /** the id is given by Distrio::Manager during registration */ attribute long id; }; @@ -100,7 +105,7 @@ module Distrio { /** called by the Digital object if this object is registered as a * callback and the trigger hits */ Distrio::Error callback_analog (in Analog io_ana); - /** ID is given by Controller::Manager during registration */ + /** ID is given by Distrio::Manager during registration */ attribute long id; }; |
