MayaFlux 0.1.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 302 of file ComputePipeline.hpp.

303 {
304 std::vector<std::string> names;
305 names.reserve(m_operations.size());
306 std::ranges::transform(m_operations, std::back_inserter(names),
307 [](const auto& op_pair) { return op_pair.second; });
308 return names;
309 }
std::vector< std::pair< std::shared_ptr< ComputeOperation< InputType, OutputType > >, std::string > > m_operations
Operations and their names in execution order.