Skip to content

fields: Introduce Get functionality#207

Draft
muhseth wants to merge 7 commits intoeclipse-score:mainfrom
muhseth:muse_skeleton_get_part_2
Draft

fields: Introduce Get functionality#207
muhseth wants to merge 7 commits intoeclipse-score:mainfrom
muhseth:muse_skeleton_get_part_2

Conversation

@muhseth
Copy link

@muhseth muhseth commented Mar 18, 2026

  • introduces EnableGet flag on SkeletonField Side.
  • implements Get function functionality.

Please note that this PR is rebased on
#204
https://cc-github.bmwgroup.net/oss/eclipse-score-communication/pull/175/
These PRs needs to be merged before this PR.

muhseth and others added 6 commits March 17, 2026 13:04
- Adds GetLatestSlot function to EventDataControlComposite

Issue: SWP-249517
- Adds GetLatestSampleFunction to SkeletonEvent
Issue: SWP-249517
Implement RegisterSetHandler() method to allow users to register
callbacks for handling remote Set requests on skeleton fields.
The Set handler wraps user-provided validation/modification logic
and automatically broadcasts accepted values to all field
subscribers via Update().

Configuration support is stubbed with TODO - requires extension of
LolaFieldInstanceDeployment to include has_setter flag.

Issue: SWP-249527
Replace runtime is_setter_ guard with EnableSet/EnableNotifier
template bool parameters on SkeletonField.

Issue: SWP-249527
- SkeletonField now includes a new template parameter, EnableGet.
- When EnableGet is true, a skeleton Get method attribute is added to SkeletonField.
- Constructors were updated to support all relevant EnableSet and EnableGet combinations.
Issue: SWP-249517
- Automatically register a Get handler for fields with EnableGet.
- Serve Get requests by reading the latest field value and returning it through the Get method.
- Update the required slot calculation.
- Add a test covering this behavior.
Issue: SWP-249517
@muhseth muhseth marked this pull request as draft March 18, 2026 08:21
@muhseth muhseth closed this Mar 18, 2026
@muhseth muhseth deleted the muse_skeleton_get_part_2 branch March 18, 2026 12:57
@muhseth muhseth restored the muse_skeleton_get_part_2 branch March 18, 2026 12:57
@muhseth muhseth reopened this Mar 18, 2026
@castler castler changed the title Muse skeleton get remaining part fields: Introduce Get functionality Mar 19, 2026
- pass additional_slots through field binding creation
- compute additional_slots from EnableSet || EnableGet
- use configured_slots + additional_slots in event properties
- add unit tests for +1 and default (unchanged) slot count
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants