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

◆ close()

void MayaFlux::Core::NetworkSerialLink::close ( )
overridevirtual

Close the port.

No-op when it is not open.

Implements MayaFlux::Core::ISerialLink.

Definition at line 89 of file NetworkSerialLink.cpp.

90{
91 if (m_endpoint != 0 && m_service && m_service->close_endpoint) {
92 m_service->close_endpoint(m_endpoint);
93 }
94 m_endpoint = 0;
95 m_shared.reset();
96}

References m_endpoint, m_service, and m_shared.

Referenced by open(), operator=(), and ~NetworkSerialLink().

Here is the caller graph for this function: