Re: SDL-News: SDL2000 "this" concept


Subject: Re: SDL-News: SDL2000 "this" concept
From: Eckhardt Holz (holz#informatik.hu-berlin.de)
Date: Mon Feb 23 2004 - 11:59:34 GMT


Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm>
The originator of this message is responsible for its content.
-----From Eckhardt Holz <holz#informatik.hu-berlin.de> to sdlnews -----

Dear Margarita,

your example is written in SDL-2000. I am not sure whether or not
Cinderella already accepts this text correctly. Unfortunately there is
currebtly no tool vaialable that completely supports SDL-2000.

In SDL-2000 you differ between an agent (block or process) and its
statemachine. In your example you have an anonymous channel with
no-delay property, which leads from the statemachine of an instance of
o_Fork_Factory to the outside of that instance via its gate factory.

The keyword "this" denotes the statemachine of the agent directly
containing the channel definition.

-- 
Dr. Eckhardt Holz
Institut für Informatik                Rudower Chaussee 25
Humboldt-Universität zu Berlin          D 12489 Berlin
Tel.: +49-30-20933116                Germany
Fax.: +49-30-20933112                holz#informatik.hu-berlin.de
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Neu: "SOFTWAREENTWICKLUNG MIT UML 2"
http://www.uml2-buch.de/
http://www.amazon.de/exec/obidos/ASIN/3827320860/wwwuml2buchde-21

Margarita de Cabo Pérez schrieb:

> Become an SDL Forum Society member <http://www.sdl-forum.org/Society/members.htm> > The originator of this message is responsible for its content. > -----From =?ISO-8859-1?Q?Margarita_de_Cabo_P=E9rez?= <marcab#yllera.tel.uva.es> to sdlnews ----- > > Hi, > I'd like to know what exactly is the meaning of "this". I have the > following SDL-PR: > > block type o_Fork_CO; > /* defines the factory process */ > process type o_Fork_factory; > gate factory > in with <<package phil_interface/package DiningPhilosopher/ > package o_Fork/package factory>>o_Fork_factory; > > channel nodelay > from this via factory to env; > endchannel; > > /* Rest of the process type */ > ... > > > endprocess type o_Fork_factory; > > /*Rest of block type*/ > > endblock type; > > I want to know from where (process type or block type) goes the > channel, what means "this" in this example. Cinderella does not make a > correct GR from this PR. > > Regards, > > Marga > > --End text from =?ISO-8859-1?Q?Margarita_de_Cabo_P=E9rez?= <marcab#yllera.tel.uva.es> to sdlnews --- > For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm> > 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 >

--End text from Eckhardt Holz <holz#informatik.hu-berlin.de> to sdlnews --- For extra SDL Forum Society benefits join at <http://www.sdl-forum.org/Society/members.htm>



This archive was generated by hypermail 2a23 : Thu May 09 2013 - 16:05:50 GMT