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

◆ register_callbacks()

virtual void MayaFlux::Core::ISubsystem::register_callbacks ( )
pure virtual

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.

Implemented in MayaFlux::Core::AudioSubsystem, and MayaFlux::Core::GraphicsSubsystem.