iio.EventStream class: Contains the representation of an event stream.
More...
Inherits iio.IIOObject.
|
override void | Destroy () |
|
| IIOObject (IntPtr hdl) |
|
abstract void | Destroy () |
|
iio.EventStream class: Contains the representation of an event stream.
IIOEvent iio.EventStream.read_event |
( |
bool |
nonblock | ) |
|
|
inline |
Read an event from the event stream.
- Parameters
-
nonblock | if True, the operation won't block and return -EBUSY if there is currently no event in the queue. |
It is possible to stop a blocking call of read_event by calling Destroy in a different thread. In that case, read_event will throw an exception.
- Exceptions
-
IioLib.IIOException | Unable to read event. |
The documentation for this class was generated from the following file: