|
MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
|
| uint32_t MayaFlux::Core::SerialInputBackend::add_port | ( | const SerialPortConfig & | port | ) |
List a port that was not configured, or update one that was while it is closed.
A port already listed under the same path keeps its id and takes the new line setup and protocol unless it is open.
Definition at line 412 of file SerialInputBackend.cpp.
References add_port(), MayaFlux::Core::SerialInputBackend::Roster::entries, id_for(), MayaFlux::Core::SerialInputBackend::Entry::info, MayaFlux::Core::InputDeviceInfo::is_connected, MayaFlux::Core::SerialPortConfig::line, m_initialized, m_roster, make_entry(), MayaFlux::Core::SerialPortConfig::port_name, and MayaFlux::Core::SerialPortConfig::protocol.
Referenced by add_port().