23.08.2013 Views

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

Specification of Reactive Hardware/Software Systems - Electronic ...

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

98 Abstraction <strong>of</strong> a Problem Domain<br />

Servant A<br />

Supervisor 2<br />

Cluster Y<br />

Servant B<br />

Supervisor 1<br />

Cluster X<br />

Servant G<br />

Supervisor 3<br />

Cluster Z<br />

Servant H<br />

Figure 4.25: Hierarchically Supervised Composites<br />

(For a further discussion <strong>of</strong> inner name and outer name, see Section 10.2).<br />

The concept <strong>of</strong> channel hiding will be used in the behaviour description <strong>of</strong> clusters<br />

and collaborating objects in general. The symbol denotes channel hiding. When the<br />

behaviour <strong>of</strong> the classes <strong>of</strong> objects A, B, and C is specified in class definitions ClassOfA,<br />

ClassOfB, and ClassOfC respectively, then the expression<br />

b¥ c¦¨§ z© y a¥<br />

describes the behaviour <strong>of</strong> the (clustered) composite. Its behaviour is the behaviour <strong>of</strong><br />

the parallel composition <strong>of</strong> internal objects A, B, and C, with channels a, b, and c hidden,<br />

and with channel y renamed to z. ClassOfA(’A’) denotes that an object with identifier<br />

(ClassOfA(¡ A¡ ) ¢ ClassOfB(¡ B¡ ) ¢ ClassOfC(¡ C¡ )) ¤£<br />

’A’ is instantiated from class ClassOfA. The clause £<br />

channels a, b, and c. The clause § z© y denotes the renaming <strong>of</strong> channel y to z (see Section<br />

10.2 for details).<br />

4.10 Terminators and System Boundary<br />

a¥ b¥ c¦ denotes the hiding <strong>of</strong> the<br />

So far we focused on objects that are internal with respect to the system boundary. Composites<br />

in a reactive system can be used to perform a complex control task. A part <strong>of</strong> the<br />

composite may be an image <strong>of</strong> a ’part’ outside the system boundary. Object C in Figure<br />

4.27, for instance, is part <strong>of</strong> a clustered aggregate, and represents Sensor 1. This sensor<br />

is outside the system and its image in the system is object C. This object is responsible

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!