comp.lang.ada
 help / color / mirror / Atom feed
From: Matteo Bordin <matteo.bordin@gmail.com>
Subject: Re: Comparison : Ada and UML (comparison… indeed)
Date: Fri, 12 Nov 2010 08:36:51 -0800 (PST)
Date: 2010-11-12T08:36:51-08:00	[thread overview]
Message-ID: <d1119318-d251-45b5-954f-64f223a49f60@w18g2000vbe.googlegroups.com> (raw)
In-Reply-To: ibg6kk$s60$1@news.eternal-september.org

On Nov 11, 8:40 am, "J-P. Rosen" <ro...@adalog.fr> wrote:
> Le 10/11/2010 22:43, Vinzent Hoefler a écrit :> On Wed, 10 Nov 2010 22:31:06 +0100, Simon Wright <si...@pushface.org>
> > wrote:
>
> >> Would a HOOD model of an aircraft with 4 engines have one HOOD object
> >> for each engine?
>
> > If they are of the same type (which I suppose they would be), they
> > would become four instantiations of a "Generic_Engine", I'd say.
>
> > So, yes, there will be one HOOD object for each engine.
>
> 1) In HOOD 3.1, yes. There was support for generics and similar objects,
> unfortunately called "classes". This comes from the fact that HOOD
> started from an abstract state machines approach.
>
> 2) HOOD 4 added support for abstract data types and classes (with
> inheritance).

Do you mean that the HOOD semantics says that:
- HOOD active objects (like an "Engine") may have multiple instancies
and
- if you modify the prototype instance (to use a UML term: the class)
of "Engine", then all of its instancies are modified accordingly
?

I think this is what Simon is asking.



  reply	other threads:[~2010-11-12 16:36 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-10-31  6:22 Comparison : Ada and UML (comparison… indeed) Yannick Duchêne (Hibou57)
2010-10-31  7:11 ` Simon Wright
2010-10-31  8:01   ` Yannick Duchêne (Hibou57)
2010-10-31  8:33     ` Vinzent Hoefler
2010-10-31 10:18       ` Yannick Duchêne (Hibou57)
2010-10-31 10:45         ` Vinzent Hoefler
2010-10-31 10:53         ` Yannick Duchêne (Hibou57)
2010-10-31 10:32       ` Yannick Duchêne (Hibou57)
2010-10-31 10:47       ` J-P. Rosen
2010-10-31 11:00         ` Yannick Duchêne (Hibou57)
2010-11-09 11:04           ` Matteo Bordin
2010-11-09 14:27             ` J-P. Rosen
2010-11-09 17:44               ` Matteo Bordin
2010-11-09 21:17                 ` J-P. Rosen
2010-11-10  9:23                   ` Matteo Bordin
2010-11-10 15:32                     ` J-P. Rosen
2010-11-09 20:02             ` Simon Wright
2010-11-10  9:34               ` Matteo Bordin
2010-11-10 21:31                 ` Simon Wright
2010-11-10 21:43                   ` Vinzent Hoefler
2010-11-11  7:40                     ` J-P. Rosen
2010-11-12 16:36                       ` Matteo Bordin [this message]
2010-11-12 16:37                       ` Matteo Bordin
2010-11-12 18:24                         ` J-P. Rosen
2010-11-12 16:27                   ` Matteo Bordin
2010-10-31 10:43     ` J-P. Rosen
2010-10-31 10:40 ` J-P. Rosen
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox