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

◆ query_state()

std::optional< double > MayaFlux::Nodes::Network::WalkOperator::query_state ( std::string_view  query) const
overridevirtual

Query walk state.

Parameters
query"current" for the active slot index

Implements MayaFlux::Nodes::Network::NetworkOperator.

Definition at line 99 of file WalkOperator.cpp.

100{
101 if (query == "current") {
102 return static_cast<double>(current());
103 }
104 return std::nullopt;
105}

References current().

+ Here is the call graph for this function: