Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 339803

Summary: System Port added
Product: [Modeling] eTrice Reporter: Thomas Jung <tj>
Component: GeneratorsAssignee: Henrik Rentz-Reichert <hrr>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: ts
Version: 0.1.0Flags: hrr: indigo+
Target Milestone: ---   
Hardware: PC   
OS: Windows 7   
Whiteboard: 0.1.0
Attachments:
Description Flags
SystemPort patch and model
none
Old Patch plus integration test
wayne.beaton: iplog-
system port incl integration test V3 ts: iplog+

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