MayaFlux 0.5.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 493 of file TabletBackend.cpp.

494{
495 if (!m_initialized.load()) {
497 "Cannot start TabletBackend: not initialized");
498 return;
499 }
500
501 if (m_running.load()) {
502 return;
503 }
504
505 m_stop_requested.store(false);
506 m_running.store(true);
508
510 "TabletBackend started");
511}
#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: