Skip to content

feat(mw::com): Implement Field Notifier support for Generic Skeleton#455

Open
ShoroukRamzy wants to merge 4 commits into
eclipse-score:mainfrom
Valeo-S-CORE-Organization:generic_skeleton_field_notifier
Open

feat(mw::com): Implement Field Notifier support for Generic Skeleton#455
ShoroukRamzy wants to merge 4 commits into
eclipse-score:mainfrom
Valeo-S-CORE-Organization:generic_skeleton_field_notifier

Conversation

@ShoroukRamzy

Copy link
Copy Markdown
Contributor

Summary:
This PR extends the GenericSkeleton to support type-erased Fields and solves this issue #181

Key Changes:

GenericSkeletonField: Introduced as a type-erased facade for fields. It takes ownership of a GenericSkeletonEvent under the hood to handle shared memory interactions and broadcasts.
Initial Value Caching: Calling Update() before OfferService() caches the field payload locally. Once the service is offered, DoDeferredUpdate() automatically allocates memory and dispatches this initial value to subscribers.
Zero-copy Notifications: Added support for Allocate() and Update(SampleAllocateePtr) to push new field values to subscribers after the service is actively running.
Skeleton Orchestration: Updated GenericSkeleton::Create to parse field configurations, spawn the fields, and properly populate the internal fields_ map.

Next Steps / Future Work:

Generic Getters & Setters: Currently, RegisterGetHandler and RegisterSetHandler are stubbed out as WIP and return ComErrc::kCouldNotExecute. In the next step, this generic field will be extended with full set and get method support over shared memory once those features are fully implemented.

@github-actions

github-actions Bot commented Jun 4, 2026

Copy link
Copy Markdown

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If this PR is still relevant, please leave a comment or push new changes to keep it open.

@github-actions github-actions Bot added the stale label Jun 4, 2026
@ShoroukRamzy

Copy link
Copy Markdown
Contributor Author

This pull request has been automatically marked as stale because it has not had recent activity. It will be closed in 7 days if no further activity occurs. If this PR is still relevant, please leave a comment or push new changes to keep it open.

Hi @crimson11, Could you please have a look when you have time? Thanks!

@github-actions github-actions Bot removed the stale label Jun 5, 2026
@ShoroukRamzy ShoroukRamzy force-pushed the generic_skeleton_field_notifier branch from e8cdd9f to ae65f9d Compare June 8, 2026 16:49
@ShoroukRamzy ShoroukRamzy force-pushed the generic_skeleton_field_notifier branch from ae65f9d to aa82c73 Compare June 8, 2026 18:00
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.

1 participant