MayaFlux 1.0.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches

◆ set_control_lines()

bool MayaFlux::Core::NetworkSerialLink::set_control_lines ( std::optional< bool > dtr,
std::optional< bool > rts )
overridevirtual

Set DTR and RTS, each optional so one can change alone.

Implements MayaFlux::Core::ISerialLink.

Definition at line 122 of file NetworkSerialLink.cpp.

123{
124 if (m_endpoint == 0 || !m_service || !m_service->set_control_lines) {
125 return false;
126 }
127 return m_service->set_control_lines(m_endpoint, dtr, rts);
128}

References m_endpoint, and m_service.

Referenced by operator=().

Here is the caller graph for this function: