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

◆ Context

enum class MayaFlux::Journal::Context : uint8_t
strong

Execution contexts for log messages.

Represents the computational domain and thread context where a log message originates. This enables context-aware filtering, real-time safety validation, and performance analysis.

Enumerator
AudioCallback 

Audio callback thread - strictest real-time requirements.

GraphicsCallback 

Graphics/visual rendering callback - frame-rate real-time.

Realtime 

Any real-time processing context (generic)

AudioBackend 

Audio processing backend (RtAudio, JACK, ASIO)

GraphicsBackend 

Graphics/visual rendering backend (Vulkan, OpenGL)

InputBackend 

Input device backend (HID, MIDI, OSC)

CustomBackend 

Custom user-defined backend.

GPUCompute 

GPU compute operations (shaders, GPGPU tasks)

Rendering 

GPU rendering operations (graphics pipeline, frame rendering)

AudioSubsystem 

Audio subsystem operations (backend, device, stream management)

WindowingSubsystem 

Windowing system operations (GLFW, SDL)

GraphicsSubsystem 

Graphics subsystem operations (Vulkan, rendering pipeline)

InputSubsystem 

Input subsystem operations (device management, event dispatch)

CustomSubsystem 

Custom user-defined subsystem.

NodeProcessing 

Node graph processing (Nodes::NodeGraphManager)

BufferProcessing 

Buffer processing (Buffers::BufferManager, processing chains)

BufferManagement 

Buffer Management (Buffers::BufferManager, creating buffers)

InputManagement 

Input management (Core::InputManager)

CoroutineScheduling 

Coroutine scheduling and temporal coordination (Vruta::TaskScheduler)

ContainerProcessing 

Container operations (Kakshya - file/stream/region processing)

ComputeMatrix 

Compute operations (Yantra - algorithms, matrices, DSP)

ImageProcessing 

Image processing tasks (filters, transformations)

ShaderCompilation 

Shader compilation tasks (Portal::Graphics::ShaderCompiler)

Worker 

Background worker thread (non-real-time scheduled tasks)

AsyncIO 

Async I/O operations ( network, streaming)

FileIO 

Filesystem I/O operations.

BackgroundCompile 

Background compilation/optimization tasks.

Init 

Engine/subsystem initialization.

Shutdown 

Engine/subsystem shutdown and cleanup.

Configuration 

Configuration and parameter updates.

UI 

User interface thread (UI events, rendering)

UserCode 

User script/plugin execution.

Interactive 

Interactive shell/REPL.

CrossSubsystem 

Cross-subsystem data sharing and synchronization.

ClockSync 

Clock synchronization (SampleClock, FrameClock coordination)

EventDispatch 

Event dispatching and coordination.

Runtime 

General runtime operations (default fallback)

Testing 

Testing/benchmarking context.

API 

API calls from external code.

Unknown 

Unknown or unspecified context.

Definition at line 59 of file JournalEntry.hpp.

59 : uint8_t {
60 // ============================================================================
61 // REAL-TIME CONTEXTS (must never block, allocate, or throw)
62 // ============================================================================
63
64 AudioCallback, ///< Audio callback thread - strictest real-time requirements
65 GraphicsCallback, ///< Graphics/visual rendering callback - frame-rate real-time
66 Realtime, ///< Any real-time processing context (generic)
67
68 // ============================================================================
69 // BACKEND CONTEXTS
70 // ============================================================================
71
72 AudioBackend, ///< Audio processing backend (RtAudio, JACK, ASIO)
73 GraphicsBackend, ///< Graphics/visual rendering backend (Vulkan, OpenGL)
74 InputBackend, ///< Input device backend (HID, MIDI, OSC)
75 CustomBackend, ///< Custom user-defined backend
76
77 // ============================================================================
78 // GPU CONTEXTS
79 // ============================================================================
80 GPUCompute, ///< GPU compute operations (shaders, GPGPU tasks)
81 Rendering, ///< GPU rendering operations (graphics pipeline, frame rendering)
82
83 // ============================================================================
84 // SUBSYSTEM CONTEXTS
85 // ============================================================================
86
87 AudioSubsystem, ///< Audio subsystem operations (backend, device, stream management)
88 WindowingSubsystem, ///< Windowing system operations (GLFW, SDL)
89 GraphicsSubsystem, ///< Graphics subsystem operations (Vulkan, rendering pipeline)
90 InputSubsystem, ///< Input subsystem operations (device management, event dispatch)
91 CustomSubsystem, ///< Custom user-defined subsystem
92
93 // ============================================================================
94 // PROCESSING CONTEXTS
95 // ============================================================================
96
97 NodeProcessing, ///< Node graph processing (Nodes::NodeGraphManager)
98 BufferProcessing, ///< Buffer processing (Buffers::BufferManager, processing chains)
99 BufferManagement, ///< Buffer Management (Buffers::BufferManager, creating buffers)
100 InputManagement, ///< Input management (Core::InputManager)
101 CoroutineScheduling, ///< Coroutine scheduling and temporal coordination (Vruta::TaskScheduler)
102 ContainerProcessing, ///< Container operations (Kakshya - file/stream/region processing)
103 ComputeMatrix, ///< Compute operations (Yantra - algorithms, matrices, DSP)
104 ImageProcessing, ///< Image processing tasks (filters, transformations)
105 ShaderCompilation, ///< Shader compilation tasks (Portal::Graphics::ShaderCompiler)
106
107 // ============================================================================
108 // WORKER CONTEXTS
109 // ============================================================================
110
111 Worker, ///< Background worker thread (non-real-time scheduled tasks)
112 AsyncIO, ///< Async I/O operations ( network, streaming)
113 FileIO, ///< Filesystem I/O operations
114 BackgroundCompile, ///< Background compilation/optimization tasks
115
116 // ============================================================================
117 // LIFECYCLE CONTEXTS
118 // ============================================================================
119
120 Init, ///< Engine/subsystem initialization
121 Shutdown, ///< Engine/subsystem shutdown and cleanup
122 Configuration, ///< Configuration and parameter updates
123
124 // ============================================================================
125 // USER INTERACTION CONTEXTS
126 // ============================================================================
127
128 UI, ///< User interface thread (UI events, rendering)
129 UserCode, ///< User script/plugin execution
130 Interactive, ///< Interactive shell/REPL
131
132 // ============================================================================
133 // COORDINATION CONTEXTS
134 // ============================================================================
135
136 CrossSubsystem, ///< Cross-subsystem data sharing and synchronization
137 ClockSync, ///< Clock synchronization (SampleClock, FrameClock coordination)
138 EventDispatch, ///< Event dispatching and coordination
139
140 // ============================================================================
141 // SPECIAL CONTEXTS
142 // ============================================================================
143
144 Runtime, ///< General runtime operations (default fallback)
145 Testing, ///< Testing/benchmarking context
146 API, ///< API calls from external code
147 Unknown ///< Unknown or unspecified context
148};
@ AudioBackend
Audio processing backend (RtAudio, JACK, ASIO)
@ ComputeMatrix
Compute operations (Yantra - algorithms, matrices, DSP)
@ CustomBackend
Custom user-defined backend.
@ EventDispatch
Event dispatching and coordination.
@ CrossSubsystem
Cross-subsystem data sharing and synchronization.
@ UserCode
User script/plugin execution.
@ Shutdown
Engine/subsystem shutdown and cleanup.
@ Interactive
Interactive shell/REPL.
@ Configuration
Configuration and parameter updates.
@ ContainerProcessing
Container operations (Kakshya - file/stream/region processing)
@ BufferManagement
Buffer Management (Buffers::BufferManager, creating buffers)
@ AudioSubsystem
Audio subsystem operations (backend, device, stream management)
@ AudioCallback
Audio callback thread - strictest real-time requirements.
@ NodeProcessing
Node graph processing (Nodes::NodeGraphManager)
@ Worker
Background worker thread (non-real-time scheduled tasks)
@ ClockSync
Clock synchronization (SampleClock, FrameClock coordination)
@ UI
User interface thread (UI events, rendering)
@ BufferProcessing
Buffer processing (Buffers::BufferManager, processing chains)
@ BackgroundCompile
Background compilation/optimization tasks.
@ FileIO
Filesystem I/O operations.
@ InputManagement
Input management (Core::InputManager)
@ GraphicsBackend
Graphics/visual rendering backend (Vulkan, OpenGL)
@ Realtime
Any real-time processing context (generic)
@ AsyncIO
Async I/O operations ( network, streaming)
@ Rendering
GPU rendering operations (graphics pipeline, frame rendering)
@ CoroutineScheduling
Coroutine scheduling and temporal coordination (Vruta::TaskScheduler)
@ WindowingSubsystem
Windowing system operations (GLFW, SDL)
@ GPUCompute
GPU compute operations (shaders, GPGPU tasks)
@ Runtime
General runtime operations (default fallback)
@ GraphicsSubsystem
Graphics subsystem operations (Vulkan, rendering pipeline)
@ GraphicsCallback
Graphics/visual rendering callback - frame-rate real-time.
@ ImageProcessing
Image processing tasks (filters, transformations)
@ InputBackend
Input device backend (HID, MIDI, OSC)
@ InputSubsystem
Input subsystem operations (device management, event dispatch)
@ ShaderCompilation
Shader compilation tasks (Portal::Graphics::ShaderCompiler)
@ CustomSubsystem
Custom user-defined subsystem.
@ Testing
Testing/benchmarking context.
@ API
MayaFlux/API Wrapper and convenience functions.
void Init()
Initializes the default engine with default settings.
Definition Core.cpp:86