Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 339803 - System Port added
Summary: System Port added
Status: CLOSED FIXED
Alias: None
Product: eTrice
Classification: Modeling
Component: Generators (show other bugs)
Version: 0.1.0   Edit
Hardware: PC Windows 7
: P3 enhancement (vote)
Target Milestone: ---   Edit
Assignee: Henrik Rentz-Reichert CLA
QA Contact:
URL:
Whiteboard: 0.1.0
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-12 13:25 EST by Thomas Jung CLA
Modified: 2012-09-17 11:51 EDT (History)
1 user (show)

See Also:
hrr: indigo+


Attachments
SystemPort patch and model (4.14 KB, application/x-zip-compressed)
2011-03-12 13:25 EST, Thomas Jung CLA
no flags Details
Old Patch plus integration test (27.12 KB, patch)
2011-03-21 10:36 EDT, Thomas Jung CLA
wayne.beaton: iplog-
Details | Diff
system port incl integration test V3 (45.96 KB, patch)
2011-03-23 02:57 EDT, Thomas Jung CLA
ts: iplog+
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Jung CLA 2011-03-12 13:25:55 EST
Created attachment 191054 [details]
SystemPort patch and model

As discussed before, the attached patch implements the system port.

Each Actor has now a port called RTSystemPort. The subsystem contains a replicated RTSystemPort.

The second attachment contains a GeneratorModel to simply generate a new SystemProtocol.

The initial transition will be triggered via "executeInitTransition" message and will be executed on the target thread.

The system port addresses will be hand over to the actor constructor via the first element of the port list.

The handling of the system messages is implemented in ActorClassBase (improvements welcome).

The replicated port has now a method "getIndexOf(ifitem)".

Genrator templates are adappted accordingly.
Comment 1 Henrik Rentz-Reichert CLA 2011-03-12 13:53:33 EST
great! I'll try that as soon as we are back from the EclipseCon
Comment 2 Thomas Jung CLA 2011-03-21 10:36:07 EDT
Created attachment 191616 [details]
Old Patch plus integration test

Old patch is still valid. New patch contains additional integratio tests.
Comment 3 Henrik Rentz-Reichert CLA 2011-03-22 18:38:18 EDT
Thanks for the patches.
The patches do not contain the new files (e.g. RTSystemServicesProtocolPort.java). Please git add and commit them too before creating the patch.
Comment 4 Thomas Jung CLA 2011-03-23 02:57:18 EDT
Created attachment 191726 [details]
system port incl integration test V3

i hope noe everything is correct