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.

12.3 The Essential <strong>Specification</strong> 387<br />

Service_<br />

Scheduler<br />

Feeder_Station<br />

Feeder_Controller<br />

Product_<br />

Product_<br />

pipo<br />

Product_<br />

i Input_<br />

pihp<br />

Info_<br />

Output_<br />

o<br />

Handler<br />

Keeper<br />

Handler<br />

piti<br />

wake<br />

Transporter_<br />

Image<br />

Transporter<br />

pihs<br />

wake<br />

prks<br />

Feeding_Unit_<br />

fuis fesa<br />

Image<br />

titr fufu<br />

poti<br />

Feeding_<br />

Unit<br />

poss<br />

pisa<br />

Service_<br />

Administrator<br />

DISTR<br />

Figure 12.8: Instance Structure Diagram <strong>of</strong> Feeder Station<br />

<strong>of</strong> the mailing machine, the diagram shows a number <strong>of</strong> related process classes. For<br />

each class zero or more attributes and messages are specified. Some relations between<br />

classes are also indicated.<br />

The diagram <strong>of</strong> Figure 12.9 shows that process class Product Info Keeper is related to data<br />

class PI through an aggregation relation 11 . Each Product Info Keeper contains zero or<br />

one 12 PI objects. A PI object, on its turn, is built from zero or one Destination objects and<br />

zero or more 13 RequiredService objects. A RequiredService is a special kind 14 <strong>of</strong> Service. A<br />

Service has a type and a name. In addition, a RequiredService also has a serviceState. This<br />

serviceState indicates whether the RequiredService is not yet serviced by any station, is<br />

pending to be serviced by some station, or is already serviced. A RequiredService can<br />

change state by execution <strong>of</strong> the methods (transformers) that correspond to the messages<br />

markUnserviced, markPending and markPerformed.<br />

11 Aggregation is indicated by the symbol.<br />

12 The zero or one arity is indicated by the ¡ symbol.<br />

13 The zero or more arity is indicated by the ¢ symbol.<br />

14 The generalisation/specialisation relation is indicated by the £<br />

symbol.

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

Saved successfully!

Ooh no, something went wrong!