From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-0.9 required=5.0 tests=BAYES_00,FORGED_GMAIL_RCVD, FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 X-Google-Thread: a07f3367d7,57c80c1c1b1f8820 X-Google-Attributes: gida07f3367d7,public,usenet X-Google-NewGroupId: yes X-Google-Language: ENGLISH,ASCII Path: g2news2.google.com!postnews.google.com!t7g2000vbj.googlegroups.com!not-for-mail From: Matteo Bordin Newsgroups: comp.lang.ada Subject: =?windows-1252?Q?Re=3A_Comparison_=3A_Ada_and_UML_=28comparison=85_indeed=29?= Date: Fri, 12 Nov 2010 08:37:53 -0800 (PST) Organization: http://groups.google.com Message-ID: <4a7a2af1-54fc-4b3c-b691-3a1e022c7e2c@t7g2000vbj.googlegroups.com> References: <88f637f8-e39d-420f-b4d1-63a3588a8fcc@40g2000vbn.googlegroups.com> NNTP-Posting-Host: 194.98.77.125 Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable X-Trace: posting.google.com 1289579873 31047 127.0.0.1 (12 Nov 2010 16:37:53 GMT) X-Complaints-To: groups-abuse@google.com NNTP-Posting-Date: Fri, 12 Nov 2010 16:37:53 +0000 (UTC) Complaints-To: groups-abuse@google.com Injection-Info: t7g2000vbj.googlegroups.com; posting-host=194.98.77.125; posting-account=0fK-ZgoAAACswzEJSZ3LA9AZ4FnRU7mX User-Agent: G2/1.0 X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.9.2.12) Gecko/20101026 Firefox/3.6.12 ( .NET CLR 3.5.30729),gzip(gfe) Xref: g2news2.google.com comp.lang.ada:16418 Date: 2010-11-12T08:37:53-08:00 List-Id: On Nov 11, 8:40=A0am, "J-P. Rosen" wrote: > Le 10/11/2010 22:43, Vinzent Hoefler a =E9crit :> On Wed, 10 Nov 2010 22:= 31:06 +0100, Simon Wright > > 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.