|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| SerialDevice::ReaderToken MayaFlux::Core::SerialDevice::add_reader | ( | SerialSpec | spec, |
| uint32_t | id, | ||
| ValueCallback | callback ) |
Read the same bytes a second way.
| spec | Framing and parsing of this reader. Its line setup is not used. |
| id | Id stamped on the values it produces. |
| callback | Receives each value, on the link's thread. |
The reader does not take part in requests, and it starts from a clean stream.
Definition at line 35 of file SerialDevice.cpp.
References m_link, m_next_token, m_readers, and spec().
Referenced by operator=().