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

DependencyGraph: use ConfigObject*, not Object* #10264

Draft
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

Al2Klimov
Copy link
Member

@Al2Klimov Al2Klimov commented Dec 4, 2024

This saves dynamic_cast<ConfigObject*> + if() on every item of GetChildren().

TODO

The .ti files call `DependencyGraph::AddDependency(this, service.get())`. Obviously, `service.get()` is the parent and `this` (Downtime, Notification, ...) is the child. The DependencyGraph terminology should reflect this not to confuse its future users.
@Al2Klimov Al2Klimov added the core/quality Improve code, libraries, algorithms, inline docs label Dec 4, 2024
@Al2Klimov Al2Klimov self-assigned this Dec 4, 2024
@cla-bot cla-bot bot added the cla/signed label Dec 4, 2024
@Al2Klimov Al2Klimov force-pushed the DependencyGraph-ConfigObject branch from 5547c12 to af064c8 Compare December 4, 2024 11:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cla/signed core/quality Improve code, libraries, algorithms, inline docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant