-
Notifications
You must be signed in to change notification settings - Fork 317
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
[All] ObjectFactory: Explicit components registration #4429
[All] ObjectFactory: Explicit components registration #4429
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very interesting PR. I have some suggestions to make the code clearer and more expressive.
Sofa/Component/StateContainer/src/sofa/component/statecontainer/init.cpp
Outdated
Show resolved
Hide resolved
836ecca
to
cc8e302
Compare
[ci-build][with-all-tests] |
[ci-build][with-all-tests][force-full-build] |
a0faa0b
to
b27d29d
Compare
[ci-build][with-all-tests][force-full-build] |
Maybe some ideas here: #2712 |
Sofa/Component/StateContainer/src/sofa/component/statecontainer/init.cpp
Outdated
Show resolved
Hide resolved
91d97b6
to
9668657
Compare
9668657
to
058edfb
Compare
058edfb
to
77931f0
Compare
77931f0
to
624af7c
Compare
[ci-build][with-all-tests][force-full-build] |
[ci-build][with-all-tests][force-full-build] |
f3ea4e6
to
fc2f61b
Compare
6eacd80
to
a1914a9
Compare
Main goal is to remove the ObjectFactory singleton (later) and the implicit registration of objects while loading dynamic libraries (plugins)
In this PR, the explicit registration is applied on components of
Sofa.Component.StateContainer
The legacy RegisterObject mechanism is preserved and will warn the user at the compilation and at run-time.
EDIT:
By submitting this pull request, I acknowledge that
I have read, understand, and agree SOFA Developer Certificate of Origin (DCO).
Reviewers will merge this pull-request only if