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

◆ on_add()

void MayaFlux::Yantra::OperationPool::on_add ( std::function< void(const std::string &, std::type_index)>  callback)
inline

Set callback for when operations are added.

Definition at line 422 of file OperationPool.hpp.

423 {
424 std::unique_lock lock(m_mutex);
425 m_on_add_callback = std::move(callback);
426 }
std::function< void(const std::string &, std::type_index)> m_on_add_callback

References m_mutex, and m_on_add_callback.