Skip to content

Event sample data type alignment fix - #931

Open
NemanjaTrifunovicRTRK wants to merge 4 commits into
eclipse-score:mainfrom
NemanjaTrifunovicRTRK:main
Open

Event sample data type alignment fix#931
NemanjaTrifunovicRTRK wants to merge 4 commits into
eclipse-score:mainfrom
NemanjaTrifunovicRTRK:main

Conversation

@NemanjaTrifunovicRTRK

Copy link
Copy Markdown

Added API for getting alingment of event data type.
Issue #852

Also fixed alignment of event data type in GatewayApplication.
Alignment was hardcoded to 0U, now it is collected from memory::DataTypeSizeInfo.
Issue #387

Documentation updated

  • score/mw/com/dependability/software_architectural_design/mw_com_dii/README.md
  • score/mw/com/design/skeleton_proxy/generic_proxy/generic_proxy_model.puml

Implementation extended:

  • score/mw/com/gateway/gateway_application/gateway_application.cpp
  • score/mw/com/impl/bindings/lola/generic_proxy_event.cpp
  • score/mw/com/impl/bindings/lola/generic_proxy_event.h
  • score/mw/com/impl/generic_proxy_event.cpp
  • score/mw/com/impl/generic_proxy_event.h
  • score/mw/com/impl/generic_proxy_event_binding.h

Tests updated:

  • score/mw/com/impl/bindings/lola/generic_proxy_event_test.cpp
  • score/mw/com/impl/bindings/mock_binding/generic_proxy_event.h
  • score/mw/com/impl/generic_proxy_event_test.cpp

Added GetSampleAlignment() method to GenericProxyEvent and GenericProxyEventBinding.
Added unit tests for GetSampleAlignment().
Added call of GetSampleAlignment() in GatewayApplication::PropagateService.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Backlog

Development

Successfully merging this pull request may close these issues.

1 participant