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

◆ start()

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

Start listening for input events.

Begins polling/callback registration for all opened devices. Input events will be delivered via registered callbacks.

Implements MayaFlux::Core::IInputBackend.

Definition at line 502 of file TabletBackend.cpp.

503{
504 if (!m_initialized.load()) {
506 "Cannot start TabletBackend: not initialized");
507 return;
508 }
509
510 if (m_running.load()) {
511 return;
512 }
513
514 m_stop_requested.store(false);
515 m_running.store(true);
517
519 "TabletBackend started");
520}
#define MF_INFO(comp, ctx,...)
#define MF_ERROR(comp, ctx,...)
std::atomic< bool > m_initialized
std::atomic< bool > m_stop_requested
@ InputBackend
Input device backend (HID, MIDI, OSC)
@ Core
Core engine, backend, subsystems.

References MayaFlux::Journal::Core, MayaFlux::Journal::InputBackend, m_initialized, m_poll_thread, m_running, m_stop_requested, MF_ERROR, MF_INFO, and poll_thread_func().

+ Here is the call graph for this function: