MCPcopy Create free account
hub / github.com/carbonengine/trinity / SetSourceObject

Method SetSourceObject

trinity/TriValueBinding.cpp:822–837  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

820}
821
822void TriValueBinding::SetSourceObject( IRoot* sourceObject )
823{
824 if( m_isWeak )
825 {
826 m_sourceObjectWeak = sourceObject;
827 }
828 else
829 {
830 m_sourceObject = sourceObject;
831 }
832 if( ITriReroutablePtr rp = BlueCastPtr( GetCurrentDestinationObject() ) )
833 {
834 rp->UnregisterBinding( this );
835 }
836 Initialize();
837}
838
839IRootPtr TriValueBinding::GetDestinationObject() const
840{

Callers

nothing calls this directly

Calls 2

InitializeFunction · 0.50
UnregisterBindingMethod · 0.45

Tested by

no test coverage detected