|
MayaFlux 0.1.0
Digital-First Multimedia Processing Framework
|
| void MayaFlux::Kriya::operator>> | ( | std::shared_ptr< Nodes::Node > | node, |
| const NodeTimeSpec & | time_op | ||
| ) |
Activates a processing node for a specific duration.
Grants the stream operator access to private members.
| node | The processing node to activate |
| time_op | The NodeTimeSpec specifying the duration |
This operator overload implements the node >> Time(seconds) syntax, which activates a processing node for a specific duration. It's a more expressive way of representing timed activation compared to traditional function calls.
Example usage:
This 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 29 of file Operators.cpp.