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

◆ cancel_outbound()

void MayaFlux::Portal::Forma::Bridge::cancel_outbound ( ElementRecord &  rec)
private

Definition at line 436 of file Bridge.cpp.

437{
438 for (const auto& name : rec.outbound_tasks) {
440 }
441 rec.outbound_tasks.clear();
442
443 if (rec.bindings) {
444 for (const auto& name : rec.binding_names)
445 rec.bindings->unbind(name);
446 }
447 rec.binding_names.clear();
448}
std::string name
Definition VKDevice.cpp:123
void unbind(const ElementRef &ref)
Cancel all inbound and outbound bindings for an element.
Definition Bridge.cpp:380
Vruta::TaskScheduler & m_scheduler
Definition Bridge.hpp:693
bool cancel_task(const std::shared_ptr< Routine > &routine)
Cancels and removes a task from the scheduler.

References MayaFlux::Portal::Forma::Bridge::ElementRecord::binding_names, MayaFlux::Portal::Forma::Bridge::ElementRecord::bindings, MayaFlux::Vruta::TaskScheduler::cancel_task(), m_scheduler, name, and MayaFlux::Portal::Forma::Bridge::ElementRecord::outbound_tasks.

Referenced by unbind(), and ~Bridge().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: