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

◆ stop()

void MayaFlux::Core::TabletBackend::stop ( )
overridevirtual

Stop listening for input events.

Pauses input delivery without closing devices.

Implements MayaFlux::Core::IInputBackend.

Definition at line 513 of file TabletBackend.cpp.

514{
515 if (!m_running.load()) {
516 return;
517 }
518
519 m_stop_requested.store(true);
520
521 if (m_poll_thread.joinable()) {
522 m_poll_thread.join();
523 }
524
525 m_running.store(false);
526}
std::atomic< bool > m_stop_requested

References m_poll_thread, m_running, and m_stop_requested.

Referenced by shutdown().

+ Here is the caller graph for this function: