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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,8fbb80525a3ce8ee X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-24 09:42:02 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!colt.net!dispose.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!zap!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: UML & Ada Date: 24 Nov 2001 07:46:32 +0000 Organization: Pushface Message-ID: References: <9tc0qk$cee$1@nh.pace.co.uk> <63jL7.54826$lV4.7980633@e420r-atl1.usenetserver.com> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 X-Trace: news.demon.co.uk 1006623706 nnrp-01:12070 NO-IDENT pogner.demon.co.uk:158.152.70.98 X-Complaints-To: abuse@demon.net NNTP-Posting-Date: 24 Nov 2001 07:46:32 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:16933 Date: 2001-11-24T07:46:32+00:00 List-Id: "David Phillips" writes: > I believe you will find that Ada tasks can be modeled as Active > Classes in the current UML standard. An Active Class is a class > that has it's own thread of control. The notation on the diagram is > augmented by making the border around the class on the diagram bold. > All places where the class is referenced will have the bold border > to signify that the class is active. Rose (<=2000, anyway) doesn't bolden the borders of active classes. You can probably make a good stab at mapping UML facilities onto tasks, but there's a considerable mismatch. I guess it depends whether you think the model should be constrained by the target architecture. For example, do you ban operations that return values (functions)? or do you provide some more complex mapping so that when the analyst says "function" you know how to represent it?