|
Re: Excution model in moka [message #1759400 is a reply to message #1758516] |
Tue, 11 April 2017 05:29  |
Eclipse User |
|
|
|
Hi,
The example model was indeed designed to be executed with the PSCS engine.
In the example, you start the execution by calling the generated factory. This factory first creates the object instance, call its default constructor operation (note that this constructor has no implementation, and that the semantics of the default constructor is given in the PSCS specification, but basically it instantiates the parts and connectors to be contained in the object), and then starts the classifier behavior.
You could do something similar manually in fUML, except that there is no default constructor in fUML. You would rather put some explicit actions to instantiate the parts and connectors.
Cheers,
Arnaud
|
|
|
Powered by
FUDForum. Page generated in 0.03972 seconds