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

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

4.7. Conclusion<br />

External Artefacts The following artefacts are not located in any application and are used<br />

as interface, input, or final output of the tool chain.<br />

OCL File (AM)<br />

Source Code (AF)<br />

Build Configuration (AF)<br />

VM Configuration File(s) (AF)<br />

Constraint Report (AF)<br />

List of OCL statements defining constraints for models of<br />

the openETCS meta model as static semantics.<br />

Generated C++ source code for the openETCS model.<br />

Generated build configuration to compile and link the generated<br />

openETCS source code.<br />

Generated configuration fil<strong>es</strong> for hypervisors running virtual<br />

machin<strong>es</strong> corr<strong>es</strong>ponding to the openETCS model.<br />

List of unfulfilled constraints within the openETCS model.<br />

The tool chain cannot end with the final generated artefacts as output because none of them<br />

is executable. This chapter only provid<strong>es</strong> background information needed for un<strong>der</strong>standing<br />

the following parts of this work and therefore the complete tool chain for the case study is<br />

pr<strong>es</strong>ented in Part III.<br />

Drawback One idea of modelling the syntax of a meta model as model un<strong>der</strong> the same<br />

meta meta model was to be able to directly generate the meta model from this syntax model.<br />

Unfortunately, it emerged that the XML file format used by MetaEdit+ for import and export<br />

of meta models [56] do<strong>es</strong> not support port typ<strong>es</strong>. Ports are only exported (and imported)<br />

type-l<strong>es</strong>s as graphical connectors in object symbols / graphical repr<strong>es</strong>entations. Therefore,<br />

after (re-)importing a meta model via XML, all port typ<strong>es</strong> are stripped from the meta model.<br />

This lack of port type support is not documented within the MetaEdit+ manual [56] and was<br />

only found in support forums.<br />

An alternative would be to use the internal MetaEdit+ patch file format [56], but it is<br />

proprietary, not documented, and binary. To use it, the format would have to be re-engineered<br />

– without any guarantee of succ<strong>es</strong>s – and a binary generator would have to be developed.<br />

Neverthel<strong>es</strong>s, because the extension of existing modelling application is out of the scope of this<br />

work, the openETCS concrete syntax model is manually kept synchronous with the openETCS<br />

meta model and primary used for documentation purpos<strong>es</strong>. This drawback is only related to<br />

the modelling application but not to the meta meta model.<br />

4.7. Conclusion<br />

The GOPPRR extension of the GOPRR meta meta model provid<strong>es</strong> good techniqu<strong>es</strong> and<br />

formalisms integrated in a tool chain to fulfil the objectiv<strong>es</strong> of this work. The GOPPRR C++<br />

abstract syntax model provid<strong>es</strong> now all formalisms to fully d<strong>es</strong>cribe the static semantics for a<br />

meta model of GOPRR, which is a must for modelling of safety-critical systems. Additionally, it<br />

provid<strong>es</strong> better abstraction because it separat<strong>es</strong> definition of element properti<strong>es</strong> and sub-typ<strong>es</strong><br />

from graph-binding and sub-graphing. That the abstract syntax model cannot be used to<br />

53

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

Saved successfully!

Ooh no, something went wrong!