Skip to content

Add SkeletonField::Get support (EnableGet flag)#438

Draft
Tejveerpratap2803 wants to merge 19 commits into
eclipse-score:mainfrom
muhseth:muse_skeleton_field_enable_get
Draft

Add SkeletonField::Get support (EnableGet flag)#438
Tejveerpratap2803 wants to merge 19 commits into
eclipse-score:mainfrom
muhseth:muse_skeleton_field_enable_get

Conversation

@Tejveerpratap2803
Copy link
Copy Markdown
Contributor

@Tejveerpratap2803 Tejveerpratap2803 commented May 18, 2026

mw/com/impl: introduces and implements SkeletonField::Get

  • 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.
  • 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.
  • 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.

@Tejveerpratap2803 Tejveerpratap2803 marked this pull request as draft May 18, 2026 01:51
@Tejveerpratap2803 Tejveerpratap2803 changed the title Muse skeleton field enable get Add SkeletonField::Get support (EnableGet flag) May 18, 2026
@Tejveerpratap2803 Tejveerpratap2803 force-pushed the muse_skeleton_field_enable_get branch 4 times, most recently from b48d1b6 to c45fc0c Compare June 1, 2026 06:16
bemerybmw and others added 18 commits June 2, 2026 18:17
This is the copy variant of set which takes a field value and returns
the new value via the MethodReturnTypePtr. The provided value will not
be modified so it's misleading that it's non-const.
- introduce InvalidTimestamp/FirstValidTimestamp constants
- adapt timestamp tests
- Adds GetLatestSampleFunction to SkeletonEvent
Make UNINITIALIZED_TIMESTAMP private; replace external usages with EventSlotStatus{} default constructor
- 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
- 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
-  Added the RegisterHandler(callback, QualityType) overload
-  Extended TypeErasedCallbackSignature with QualityType as 3rd param
-  Capture asil_level in OnProxyMethodSubscribeFinished so each proxy connection carries its own ASIL level at call time
-  Updated BUILD visibility/deps for quality type
- Update RegisterGetHandler() to use QualityType-aware RegisterHandler overload
- Fixed the unit test case by adding qualitytype as param
@Tejveerpratap2803 Tejveerpratap2803 force-pushed the muse_skeleton_field_enable_get branch from 4af734c to 2078c9c Compare June 2, 2026 13:10
- Changed the Skeleton::Field template param order
- Fixed the clang tidy error
@Tejveerpratap2803 Tejveerpratap2803 force-pushed the muse_skeleton_field_enable_get branch from 00d4b1f to 6dc2400 Compare June 3, 2026 08:20
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.

3 participants