|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| NodeTimeSpec MayaFlux::Kriya::Time | ( | double | seconds, |
| std::vector< uint32_t > | channels | ||
| ) |
Creates a NodeTimeSpec with the specified duration.
| seconds | Duration in seconds |
| channels | Optional list of channels to activate |
| channel | Optional single channel to activate |
This factory function creates a NodeTimeSpec with the specified duration, using the global scheduler and graph manager. It's designed to be used with the stream operator to create a fluent, expressive syntax for timed node activation.
Example usage:
This function is part of a broader pattern of using operator overloading to create a domain-specific language for computational flow programming within C++.
Definition at line 62 of file Operators.cpp.