Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DCSupplySimulator: remove designated assignments #509

Conversation

barsnick
Copy link
Contributor

@barsnick barsnick commented Jan 25, 2024

These are only officially supported from C++20 upwards.

While at it, also fix a description typo in the manifest(s).

barsnick referenced this pull request Jan 25, 2024
This C++ module emulates the behavior of the existing JsDCSupplySimulator.

Unlike JsDCSupplySimulator, it does not provide the powermeter simulation
interface though. This should be implemented in a separate C++ module.

Co-authored-by: Cornelius Claussen <[email protected]>
Co-authored-by: Fabian Hartung <[email protected]>
Co-authored-by: Mohannad Oraby <[email protected]>
Co-authored-by: Moritz Barsnick <[email protected]>

Signed-off-by: Fabian Hartung <[email protected]>
Signed-off-by: Moritz Barsnick <[email protected]>
Copy link
Contributor

@corneliusclaussen corneliusclaussen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Needs to be rebased and squashed before merging

These assignments are only supported from C++20 upwards. Use a static
function, and get the capabilities from the config at runtime instead of
storing them in an additional struct.

Fixes EVerest@3b6a044#r137725550

Also fix typos in the *DCSupplySimulator manifests.

Signed-off-by: Moritz Barsnick <[email protected]>
@barsnick barsnick force-pushed the cb-dcsupplysimulator-remove-designated-assignments branch from 5b1edc6 to 6c2e1b3 Compare February 12, 2024 09:29
@barsnick barsnick merged commit 6929cd7 into EVerest:main Feb 12, 2024
5 checks passed
@barsnick barsnick deleted the cb-dcsupplysimulator-remove-designated-assignments branch February 12, 2024 09:36
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