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

◆ bridge()

template<typename T >
Bridge::Binding MayaFlux::Portal::Forma::Tend< T >::bridge ( )
inline

Bridge::Binding handle for result's element.

Thin forwarder to Bridge::at(). It keeps the chain unbroken rather than requiring a separate Portal::Forma::bridge().at(...) statement after place(). Every real bind()/write()/unbind() overload lives on the returned Binding itself, unchanged. Nothing here duplicates them. Calls internal::atelier().bridge() rather than the public Portal::Forma::bridge() wrapper, since that free function is declared in Forma.hpp, which this file cannot include.

Precondition
place() has been called.
Returns
Binding handle, chainable into .bind(...)/.write(...).

Definition at line 266 of file Tend.hpp.

267 {
268 return internal::atelier().bridge().at(result->state);
269 }
Binding at(ElementRef ref)
Return a Binding handle for the element registered under ref.
Definition Bridge.hpp:652
Bridge & bridge()
Bridge instance constructed during initialize.
Definition Atelier.cpp:80
Atelier & atelier()
Accessor for the process-wide Atelier.
Definition Atelier.hpp:304
std::optional< Mapped< T > > result
Populated by place(). The real, fully wired element.
Definition Tend.hpp:232

References MayaFlux::Portal::Forma::Bridge::at(), MayaFlux::Portal::Forma::internal::atelier(), MayaFlux::Portal::Forma::internal::Atelier::bridge(), and MayaFlux::Portal::Forma::Tend< T >::result.

+ Here is the call graph for this function: