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

◆ get_operations_by_category()

std::vector< std::type_index > MayaFlux::Yantra::OperationRegistry::get_operations_by_category ( OperationType  category) const
inline

Get all registered operations of a specific category.

Parameters
categoryCategory to query
Returns
Vector of type indices for operations in that category

Definition at line 174 of file ComputeRegistry.hpp.

175 {
176 std::vector<std::type_index> results;
177
178 for (const auto& [key, _] : m_factories) {
179 if (key.category == category) {
180 results.push_back(key.operation_type);
181 }
182 }
183
184 return results;
185 }
std::unordered_map< TypeKey, Factory, TypeKeyHash > m_factories

References m_factories.