MayaFlux 1.0.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 522 of file TabletBackend.cpp.

523{
524 if (!m_running.load()) {
525 return;
526 }
527
528 m_stop_requested.store(true);
529
530 if (m_poll_thread.joinable()) {
531 m_poll_thread.join();
532 }
533
534 m_running.store(false);
535}
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: