MayaFlux 0.4.0
Digital-First Multimedia Processing Framework
Loading...
Searching...
No Matches
MayaFlux::Portal::Forma::Inspector Class Reference

Forma subsystem for live introspection. More...

#include <Inspector.hpp>

+ Collaboration diagram for MayaFlux::Portal::Forma::Inspector:

Public Member Functions

InspectResult buffer (const std::shared_ptr< Buffers::Buffer > &buf, Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F, int depth=0)
 Inspect a single Buffer: default processor and full processing chain.
 
InspectResultbuffer_manager (Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F)
 Inspect the full BufferManager state across all active tokens.
 
void destroy (InspectResult &result)
 Destroy an InspectResult and release its resources.
 
InspectResult event (const std::shared_ptr< Vruta::Event > &ev, std::string_view name, Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F)
 Inspect a single Event by name and pointer.
 
InspectResultevent_manager (Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F)
 Inspect the full EventManager state.
 
 Inspector (Nodes::NodeGraphManager &ngm, Buffers::BufferManager &bm, Vruta::TaskScheduler &sched, Vruta::EventManager &event_mgr)
 
InspectResult node (const std::shared_ptr< Nodes::Node > &n, Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F, int depth=0)
 Inspect a single Node and its full modulator tree.
 
InspectResultnode_graph_manager (Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F)
 Inspect the full NodeGraphManager state across all active tokens.
 
InspectResult node_network (const std::shared_ptr< Nodes::Network::NodeNetwork > &net, Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F, int depth=0)
 Inspect a NodeNetwork and its per-network metadata.
 
InspectResult root_audio_buffer (Buffers::ProcessingToken token, Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F, int depth=0)
 Inspect all root audio buffers for a token across every channel.
 
InspectResult root_audio_buffer (Buffers::ProcessingToken token, uint32_t channel, Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F, int depth=0)
 Inspect the root audio buffer for a specific token and channel.
 
InspectResult root_graphics_buffer (Buffers::ProcessingToken token, Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F, int depth=0)
 Inspect the root graphics buffer for a token.
 
InspectResult root_node (Nodes::ProcessingToken token, Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F, int depth=0)
 Inspect all RootNodes for a token.
 
InspectResult root_node (Nodes::ProcessingToken token, uint32_t channel, Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F, int depth=0)
 Inspect a single RootNode for a specific token and channel.
 
InspectResultscheduler (Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F)
 Inspect the full TaskScheduler state.
 
InspectResult tasks (Vruta::ProcessingToken token, Surface &surface, LayoutCursor &cursor, float x_min=-0.95F, float x_max=0.95F, float row_h=0.05F)
 Inspect tasks for a specific processing token.
 

Private Member Functions

InspectResult inspect_modulator_tree (const Nodes::ModulatorTree &tree, Surface &surface, LayoutCursor &cursor, float x_min, float x_max, float row_h, int depth)
 
InspectResult inspect_task (const Vruta::TaskEntry &entry, Surface &surface, LayoutCursor &cursor, float x_min, float x_max, float row_h)
 
RowBuffer make_row_buffer (const std::shared_ptr< Core::Window > &window, std::string_view text, glm::uvec2 pixel_dims) const
 

Private Attributes

Buffers::BufferManagerm_bm
 
Vruta::EventManagerm_event_mgr
 
Nodes::NodeGraphManagerm_ngm
 
Vruta::TaskSchedulerm_sched
 

Static Private Attributes

static std::optional< InspectResults_buffer_result
 
static std::optional< InspectResults_event_result
 
static std::optional< InspectResults_node_graph_result
 
static std::optional< InspectResults_scheduler_result
 

Detailed Description

Forma subsystem for live introspection.

Initialized by Portal::Forma::initialize alongside Bridge. Provides a fluent entry point into Inspect:: query functions using stored BufferManager and NodeGraphManager defaults.

Access via Portal::Forma::get_inspector().

Definition at line 39 of file Inspector.hpp.


The documentation for this class was generated from the following files: