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

Polymorphic ruler version 4 #3

Open
wants to merge 10 commits into
base: master
Choose a base branch
from
Open

Conversation

micpap25
Copy link
Owner

No description provided.

@micpap25 micpap25 force-pushed the polymorphic-ruler-version-4 branch 2 times, most recently from 8e22263 to 18b615d Compare August 17, 2022 10:11
@micpap25
Copy link
Owner Author

Final version of branch; everything before Beats & Bars Ruler

Rework update so that it is polymorphic. Break it into multiple files and allow the ruler's creator to set the updater with a unique pointer creator.
Streamline the dependencies of Updater and Ruler. Extract all necessary data for Updater functions down to Updater, and rework ruler calls to use this format. This allows Updater to be independent of Ruler.
Separates Ruler from RulerPanel to reduce unnecessary importing.
Properly implements Custom functions and uses the LinearDb ruler as a space to test it.
…leaning RulerUpdater

Utilize std::any to remove dependency of Ruler on functions to specifically set values for different updater types
Additionally, create a GeneratedUpdater function to extract the Tick function in RulerUpdater to, for better scoping.
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