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

Add Mechanism class #35

Open
2 tasks
aidnem opened this issue Nov 11, 2024 · 1 comment
Open
2 tasks

Add Mechanism class #35

aidnem opened this issue Nov 11, 2024 · 1 comment
Assignees

Comments

@aidnem
Copy link
Contributor

aidnem commented Nov 11, 2024

Purpose
Create a Mechanism class to separate logic for individual mechanisms and abstract it out of the subsystems without causing duplicated code in the IOs.

Scope

  • Create a mechanism class that handles an IO and updates inputs and applies outputs
  • Create an IO interface that other IOs can implement, so that the mechanism class can handle IOs automatically

Based on: this discussion.

@aidnem aidnem self-assigned this Nov 11, 2024
@aidnem
Copy link
Contributor Author

aidnem commented Nov 11, 2024

This is actually very sketchy to implement with generics, we should reconsider if we need to explicitly add mechanisms to coppercore tonight at shop.

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

When branches are created from issues, their pull requests are automatically linked.

1 participant