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

◆ stop_sync()

void MayaFlux::Portal::Forma::Bridge::stop_sync ( Layer &  layer)

Stop Bridge tasks owned by a Layer.

Stops presentation sync and aggregate routes. Element-owned bindings associated with individual ids remain active.

Parameters
layerLayer whose Bridge tasks should stop.

Definition at line 390 of file Bridge.cpp.

391{
392 auto it = m_layer_tasks.find(layer.weak_from_this());
393 if (it == m_layer_tasks.end())
394 return;
395
396 for (const auto& name : it->second)
398
399 m_layer_tasks.erase(it);
400}
std::string name
Definition VKDevice.cpp:123
std::map< std::weak_ptr< Layer >, std::vector< std::string >, std::owner_less<> > m_layer_tasks
Definition Bridge.hpp:699
Vruta::TaskScheduler & m_scheduler
Definition Bridge.hpp:693
bool cancel_task(const std::string &name)
Cancels a scheduled task.
Definition Chronie.cpp:127

References MayaFlux::Vruta::TaskScheduler::cancel_task(), m_layer_tasks, m_scheduler, and name.

+ Here is the call graph for this function: