|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| uint64_t MayaFlux::Core::SerialInputBackend::add_reader | ( | uint32_t | device_id, |
| SerialSpec | spec, | ||
| ReaderCallback | callback ) |
Read a device's bytes a second way and hand the values to callback.
Unlike a view, it is not listed as a device and does not go to the input callback. It stays attached when the device is closed and opened again, and runs on the link's thread. Values carry the id of the device.
Definition at line 525 of file SerialInputBackend.cpp.
References add_reader(), add_record(), attach_readers(), get_device(), m_initialized, and m_roster.
Referenced by add_reader(), and MayaFlux::Core::InputSubsystem::register_backend_service().