Get type of named operation.
- Parameters
-
- Returns
- Optional containing the type index if found
Definition at line 338 of file OperationPool.hpp.
339 {
340 std::shared_lock lock(
m_mutex);
341
342 auto it =
m_info.find(name);
344 return it->second.type;
345 }
346
347 return std::nullopt;
348 }
std::shared_mutex m_mutex
std::unordered_map< std::string, PooledOperationInfo > m_info
References m_info, and m_mutex.