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

◆ get_operation_names()

template<ComputeData InputType = std::vector<Kakshya::DataVariant>, ComputeData OutputType = InputType>
std::vector< std::string > MayaFlux::Yantra::ComputationPipeline< InputType, OutputType >::get_operation_names ( ) const
inline

Get all operation names in the pipeline.

Returns
Vector of operation names in execution order

Returns the names of all operations in the pipeline in the order they will be executed. Unnamed operations appear as empty strings.

Definition at line 311 of file ComputePipeline.hpp.

312 {
313 std::vector<std::string> names;
314 names.reserve(m_operations.size());
315 std::ranges::transform(m_operations, std::back_inserter(names),
316 [](const auto& op_pair) { return op_pair.second; });
317 return names;
318 }
std::vector< std::pair< std::shared_ptr< ComputeOperation< InputType, OutputType > >, std::string > > m_operations
Operations and their names in execution order.