next up previous contents index
Next: (16) Making a simulation Up: Building Ping-Pong Game using Previous: (14) Adding Couplings   Contents   Index

(15) Print Couplings

Even though it is not necessary, we can call the function PrintCouplings() of Coupled to check the coupling status. The couplings of the ping-pong game are displayed as follows.

Inside of PingPong

 -- External Input Coupling (EIC) --
 ------ # of EICs: 0-----

 -- Internal Coupling (ITC) --
A.send --> B.receive
B.send --> A.receive
 ------ # of ITCs: 2-----

 -- External Output Coupling (EOC) --
 ------ # of EOCs: 0-----



MHHwang 2007-05-07