-
Notifications
You must be signed in to change notification settings - Fork 402
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
Iox 1640 create polymorphic singleton abstraction #1656
Merged
MatthiasKillat
merged 31 commits into
eclipse-iceoryx:master
from
ApexAI:iox-1640-create-polymorphic-singleton-abstraction
Jan 31, 2023
Merged
Changes from 1 commit
Commits
Show all changes
31 commits
Select commit
Hold shift + click to select a range
2bf8488
iox-#1640 Polymorphic handler implementation
MatthiasKillat aef2103
iox-#1640 Polymorphic handler test
MatthiasKillat d88805e
iox-#1640 Test Acivatable concept
MatthiasKillat 2a6e336
iox-#1640 Document PolymorphicHandler
MatthiasKillat f38f187
iox-#1640 Move PolymorphicHandler impl
MatthiasKillat 235739f
iox-#1640 Update PolymorphicHandler tests
MatthiasKillat f2baec6
iox-#1640 Add hooks to PolymorphicHandler
MatthiasKillat c07c569
iox-#1640 Move PolymorphicSingleton impl
MatthiasKillat ddbf37c
iox-#1640 Add StaticLifetimeGuard
MatthiasKillat b97eeaf
iox-#1640 Remove mutex
MatthiasKillat 4692854
iox-#1640 Move StaticLifetimeGuard impl
MatthiasKillat 90c756f
iox-#1640 PolymorphicHandler set by guard
MatthiasKillat 0644af9
iox-#1640 Make StaticLifetimeGuard assignable
MatthiasKillat 5a6be27
iox-#1640 Add design document
MatthiasKillat 7722618
iox-#1640 Update documentation
MatthiasKillat 78f9443
iox-#1640 Optimize memory order
MatthiasKillat cf6dc33
iox-#1640 Correct activation during self exchange
MatthiasKillat 65e2ec6
iox-#1640 Remove Activatable restriction
MatthiasKillat a26d747
iox-#1640 Correct finalize and reset test
MatthiasKillat d67f4dc
iox-#1640 Update documentation
MatthiasKillat b2d2029
iox-#1640 Make setCount protected
MatthiasKillat 0abe2a6
iox-#1640 Weakened counter modification
MatthiasKillat f5c444b
iox-#1640 Make StaticLifetimeGuard tests independent
MatthiasKillat 614c94a
iox-#1640 Optimize PolymorphicHandler
MatthiasKillat 00486cf
iox-#1640 Let set and reset return bool
MatthiasKillat 3bf204b
iox-#1640 Update iceoryx-unreleased.md
MatthiasKillat 97793c8
iox-#1640 Add concurrent guard test
MatthiasKillat 193b4c6
iox-#1640 Update tests
MatthiasKillat b35cb02
iox-#1640 Correct concurrent StaticLifetimeGuard destruction
MatthiasKillat 4c259b9
iox-#1640 Update comments and documentation
MatthiasKillat fcf639d
iox-#1640 Let DefaultHooks call abort
MatthiasKillat File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
I guess this does not restrict other hooks to define a non-noreturn method?
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.
No it does not and should not. It is not mandatory for any hook. It is just plugged in as a template argument type ...
However, it is a guarantee the DefaultHooks are able to give and so they should. Can remove it, but would advise not to. This allows optimization and communicates intent. And is portable in C++11.