31.01.2014 Views

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

Ph.D. - geht es zur Homepage der Informatik des Fachbereiches 3 ...

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.

Chapter 8. openETCS Domain Framework<br />

objects that are not used in the current data flow. This modification of a currently unused<br />

object can lead to undefined and/or und<strong>es</strong>ired behaviour not corr<strong>es</strong>ponding to the concrete<br />

model.<br />

The concrete syntax of data flows between function block objects in the openETCS meta model<br />

in Subsection 7.3.2 defin<strong>es</strong> DataFlow relationships as the related interconnection. Although<br />

function block objects can be reused in any graph of a model 4 , this DataFlow relationship is<br />

unique. Therefore, an obvious and direct solution is to additionally d<strong>es</strong>ign a class repr<strong>es</strong>enting<br />

a data flow or rather an interconnection between two function block objects. This class should<br />

be instantiated 5 for each relationship in the openETCS model. The class<strong>es</strong> for the data flow<br />

interconnection are shown in Figure 8.4.<br />

Figure 8.4.: Class diagram of the function block class<strong>es</strong> for the data flow<br />

As data flows can be of different typ<strong>es</strong> (double, integer, string, etc.), CFlow, the additional<br />

class for interconnections, is a template class [79]. Its first template parameter INPUT_TYPE_T<br />

4 instance of the openETCS meta model<br />

5 generated by openETCS generator<br />

130

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

Saved successfully!

Ooh no, something went wrong!