Skip to content

Clarify required/optional functions of pumps#603

Merged
marktsuchida merged 1 commit intomainfrom
pump-required-optional
Mar 28, 2025
Merged

Clarify required/optional functions of pumps#603
marktsuchida merged 1 commit intomainfrom
pump-required-optional

Conversation

@marktsuchida
Copy link
Copy Markdown
Member

Another followup to #462.

I think the required/optional distinction got partly lost when the pressure and volumetric pumps were separated. @Lars-Kool Do the changes proposed here correctly capture your intent? Let me know if changes are needed.

(The DeviceBase classes should leave out implementations for required functions, so that device code will get a compile error if the function is not implemented.)

@Lars-Kool
Copy link
Copy Markdown
Contributor

@marktsuchida, indeed, these changes are as I intended. I most likely forgot to update the comments after the pressure and volumetric pump split. I should have been more careful.

@marktsuchida marktsuchida merged commit 973728f into main Mar 28, 2025
@marktsuchida marktsuchida deleted the pump-required-optional branch March 28, 2025 20: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.

2 participants