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

◆ register_callbacks()

void MayaFlux::Core::InputSubsystem::register_callbacks ( )
overridevirtual

Register callback hooks for this domain.

Sets up domain-specific callbacks that will trigger token-based processing. This is where subsystems connect to their respective backend systems and establish the event loops that drive processing.

Examples:

  • Audio: RtAudio callback registration for real-time audio processing
  • Visual: Vulkan present callback / OpenFrameworks draw loop integration
  • Windowing: GLFW event loops for UI and input handling
  • Custom: Application-specific timing or event-driven processing

Called during subsystem setup before initialization. Should not start actual processing - only establish the callback infrastructure.

Implements MayaFlux::Core::ISubsystem.

Definition at line 28 of file InputSubsystem.cpp.

29{
30 // Input subsystem doesn't register timing callbacks like audio/graphics.
31 // Backends push to InputManager's queue, which has its own thread.
32}