If you are using an external application (such as the MFC
GUI) where the links are created at run time, you can link objects
with ports specified by IBM® Rational® Rhapsody® using
calls like the following examples:
About this task
a.getSrc()->setItsJ(b.getMon()->getItsJ());
b.getMon()->setItsI(a.getSrc()->getItsI());
Procedure
- Create a temporary package that creates
the links for you.
- Copy the .cpp file for
the new package to the correct class.
- Modify the code as needed.