Page #19 (Traditional Software Reusability)

< BACK  NEXT >
[oR]

Reference Hardware Components

In order to relate the hardware component model to software, I will frequently refer to two hardware components a TV and a VCR. Furthermore, I will simplify the example by considering only the video signal interaction between the two components.

In order to obtain the video signal from the VCR, the video-output jack of the VCR needs to be connected to the video-input jack of the TV, as shown in Figure 1.1.

Figure 1.1. Connecting a VCR to a TV using Video Jacks.
graphics/01fig01.gif

Some advantages of keeping these two hardware components as separate units are obvious:a defect in VCR logic requires only the VCR to be field-replaced; the VCR can be upgraded without necessarily upgrading the TV; and any brand VCR will work with any brand TV, as long as they have standard jacks for video input/output.

I will now write a program to simulate the behavior of TV-VCR interconnection.


< BACK  NEXT >


COM+ Programming. A Practical Guide Using Visual C++ and ATL
COM+ Programming. A Practical Guide Using Visual C++ and ATL
ISBN: 130886742
EAN: N/A
Year: 2000
Pages: 129

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net