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

◆ operator>>()

Sequence & MayaFlux::Kriya::Sequence::operator>> ( const ActionToken token)

Adds an action to the sequence.

Parameters
tokenThe action to add
Returns
Reference to this Sequence for method chaining

This operator overload implements the seq >> action syntax, which adds an action to the sequence. The action can be a node connection, a time delay, or a function call, represented by an ActionToken.

The method returns a reference to the Sequence itself, allowing for a fluent, declarative API style.

Definition at line 72 of file Chain.cpp.

73{
74 tokens.push_back(token);
75 return *this;
76}
static MayaFlux::Nodes::ProcessingToken token
Definition Timers.cpp:8
std::vector< ActionToken > tokens
Collection of actions in this sequence.
Definition Chain.hpp:289

References token, and tokens.