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

◆ NodeTimeSpec() [2/2]

MayaFlux::Kriya::NodeTimeSpec::NodeTimeSpec ( double  seconds,
Vruta::TaskScheduler scheduler,
Nodes::NodeGraphManager graph_manager 
)

Constructs a NodeTimeSpec with explicit scheduler and graph manager.

Parameters
secondsDuration of the operation in seconds
schedulerThe TaskScheduler to use for timing
graph_managerThe NodeGraphManager to use for node connections

This constructor allows for more control over which scheduler and graph manager are used, which is useful in contexts where multiple processing engines might exist.

Definition at line 17 of file Operators.cpp.

18 : m_seconds(seconds)
19 , m_scheduler(scheduler)
20 , m_graph_manager(graph_manager)
21{
22}
Vruta::TaskScheduler & m_scheduler
Reference to the scheduler that will manage timing.
Definition Operators.hpp:98
Nodes::NodeGraphManager & m_graph_manager
Reference to the graph manager that will manage node connections.
double m_seconds
Duration of the operation in seconds.
Definition Operators.hpp:90