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

◆ inspect_scheduler()

MAYAFLUX_API void MayaFlux::Portal::Forma::inspect_scheduler ( )

Open or show the TaskScheduler inspection window.

First call creates a dedicated window, builds the InspectResult, and schedules tap_all() via Bridge. Subsequent calls show() the existing window.

Definition at line 330 of file Forma.cpp.

331{
332 if (g_inspect_scheduler_window) {
333 g_inspect_scheduler_window->show();
334 return;
335 }
336 g_inspect_scheduler_window = g_window_manager->create_window(
337 Core::WindowCreateInfo { .title = "TaskScheduler", .width = k_inspect_w, .height = k_inspect_h });
338 g_inspect_scheduler_window->show();
339 auto surface = create_surface(g_inspect_scheduler_window, "TaskScheduler");
340 LayoutCursor cursor;
341 auto& result = g_inspect->scheduler(surface, cursor);
342 g_bridge->spawn_sync(result.group.header.header_id, [&result] { result.tap_all(); });
343}
std::string title
Window title/identifier.
Configuration for creating a single window instance.

References create_surface(), and MayaFlux::Core::WindowCreateInfo::title.

+ Here is the call graph for this function: