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

◆ ActionToken() [3/3]

MayaFlux::Kriya::ActionToken::ActionToken ( std::function< void()>  _func)

Constructs an ActionToken representing a function call.

Parameters
_funcThe function to call

Creates a token that represents calling a function as part of the sequence. This is useful for triggering state changes or control logic.

Definition at line 66 of file Chain.cpp.

68 , func(std::move(_func))
69{
70}
Utils::ActionType type
The type of action this token represents.
Definition Chain.hpp:175
std::function< void()> func
The function to call (for FUNCTION type tokens)
Definition Chain.hpp:191