| 820 | } |
| 821 | |
| 822 | void 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 | |
| 839 | IRootPtr TriValueBinding::GetDestinationObject() const |
| 840 | { |
nothing calls this directly
no test coverage detected