SDL-News: Object-orientation in SDL


Subject: SDL-News: Object-orientation in SDL
From: Glenn Lewis (Glenn.Lewis#utas.edu.au)
Date: Thu Dec 03 1998 - 04:43:27 GMT


The originator of this message is responsible for its content.
-----From Glenn Lewis <Glenn.Lewis#utas.edu.au> to sdlnews -----

Hi!

I am interested in object-orientation in formal methods. I wonder if anyone
can tell me of papers/reports etc assesing the object-oriented features of
SDL?

I am rather new to SDL (I have only done some introductory reading), but
what I understand of how OO is supported in SDL is below. I would
appreciate any answers/corrections/comments etc and or confirmation that I
have got it right (...I am particularly unsure of the final sentence ...)

Instead of classes SDL speaks of types. The types can be instantiated and
refernces are used, but there is a one-one relation between references and
instances (i.e. you don't have the general references between objects as in
an OO language). SDL supports a form of single inheritance, where it is
possible to replace or redefine components but this is limited, for example
you can only replace a transition that is declared to be virtual (does this
mean that once such a transition is refined, it cannot be further refined?
is it only possible to redefine virtual components of processes?). There is
no way to guarantee that the behaviour of the subtype is consistent with
the behaviour of the supertype, i.e. there is no concept of behavioural
inheritance or subtyping of some other OO languages (has this ever been
addressed or is it just left up to the specifier?).

thanks!
--Glenn

-----End text from Glenn Lewis <Glenn.Lewis#utas.edu.au> to sdlnews -----
For help, email "majordomo#sdl-forum.org" with the body of your email as:
    help
or (iff this does not answer your question) email: owner-sdlnews#sdl-forum.org



This archive was generated by hypermail 2a23 : Sun Jun 16 2013 - 10:41:40 GMT