This shows you the differences between two versions of the page.
Both sides previous revision Previous revision | |||
meta-composer [2014/05/09 07:47] barryfp |
meta-composer [2014/10/01 10:45] barryfp [Runtime adaptation] |
||
---|---|---|---|
Line 64: | Line 64: | ||
dana.associateBindport(rhs.class :< bp, lhs.class :> bp); | dana.associateBindport(rhs.class :< bp, lhs.class :> bp); | ||
- | ObjectInstance *il = dana.getObjects(lhs.class :> bp); | + | ObjectInstance iw = dana.getObjects(lhs.class :> bp); |
- | while (il != null) | + | while (iw != null) |
{ | { | ||
- | dana.transfer(rhs.class :< bp, il.object); | + | dana.transfer(rhs.class :< bp, iw.object); |
- | il ++; | + | iw = iw.next; |
} | } | ||
lhs.class :> bp = rhs.class :< bp; | lhs.class :> bp = rhs.class :< bp; | ||
- | il = dana.getObjects(lhs.class :> bp); | + | iw = dana.getObjects(lhs.class :> bp); |
- | while (il != null) | + | while (iw != null) |
{ | { | ||
- | dana.commitTransfer(lhs.class :> bp, il.object); | + | dana.commitTransfer(lhs.class :> bp, iw.object); |
- | il ++; | + | iw = iw.next; |
} | } | ||