| Summary: | System Port added | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | [Modeling] eTrice | Reporter: | Thomas Jung <tj> | ||||||||
| Component: | Generators | Assignee: | Henrik Rentz-Reichert <hrr> | ||||||||
| Status: | CLOSED FIXED | QA Contact: | |||||||||
| Severity: | enhancement | ||||||||||
| Priority: | P3 | CC: | ts | ||||||||
| Version: | 0.1.0 | Flags: | hrr:
indigo+
|
||||||||
| Target Milestone: | --- | ||||||||||
| Hardware: | PC | ||||||||||
| OS: | Windows 7 | ||||||||||
| Whiteboard: | 0.1.0 | ||||||||||
| Attachments: |
|
||||||||||
great! I'll try that as soon as we are back from the EclipseCon Created attachment 191616 [details]
Old Patch plus integration test
Old patch is still valid. New patch contains additional integratio tests.
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. Created attachment 191726 [details]
system port incl integration test V3
i hope noe everything is correct
|
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.