-
Notifications
You must be signed in to change notification settings - Fork 269
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
Use statically-typed views for better performance #856
Merged
Merged
Changes from 28 commits
Commits
Show all changes
30 commits
Select commit
Hold shift + click to select a range
046210a
Use statically-typed views for better performance
adlarkin e4a6568
Merge branch 'main' into adlarkin/view_restructure
iche033 ee9b6c5
clearer deprecation messages
adlarkin 39b499e
review feedback
adlarkin cd635dd
use a removed flag on components instead of a ignore flag
adlarkin f8204de
add nullptr checks for CreateComponent and RemoveComponent in ECM uni…
adlarkin 52f8c7e
updated documentation and other review nits
adlarkin 023bc7f
Merge branch 'main' into adlarkin/view_restructure
adlarkin 40101a8
added ComponentStorage tests
adlarkin ee3d3d0
added tests for View and BaseView classes
adlarkin 4a90e86
remove ComponentStorage from detail namespace
adlarkin 782844a
re-construct ComponentStorage instead of using Reset()
adlarkin ea7d9e9
separate function declarations from implementation for View class
adlarkin 7e17a61
Merge branch 'main' into adlarkin/view_restructure
adlarkin d3e5a25
renamed ComponentStorage to EntityComponentStorage
adlarkin a177b19
Proposal for #856: Deprecations instead of removals (#873)
chapulina b63a428
Merge branch 'main' into adlarkin/view_restructure
adlarkin d02d72a
Fix crash on GUI entity removal with levels (#913)
adlarkin d2752ca
Merge branch 'main' into adlarkin/view_restructure
adlarkin 86e1dd3
Simplifications to storage (#943)
chapulina f0a0fe8
update migration guide with deprecations and method/type modifications
adlarkin d871df3
review feedback
adlarkin 660268e
Merge branch 'main' into adlarkin/view_restructure
adlarkin 9baa1a8
set visibility for template specializations
chapulina 66bb2a2
Try the ign-gui plugins approach
chapulina 640df12
merged from main
chapulina d9a49e6
Make Server test not write to /home/chapulina, attempt more Windows s…
chapulina 772a5f8
Remove visibility from templated class and methods
j-rivero 2dadec6
merged from main
chapulina abf9d23
Merge branch 'main' into adlarkin/view_restructure
chapulina 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
Oops, something went wrong.
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.
Windows is not happy about something here:
Maybe there's some weird character hiding in there? 🤷♀️
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.
It seems like it has something to do with using
IGN_DEPRECATED
in combination with methods that return a pointer. I am guessing that the*
in the method signature is not being understood correctly when parsing occurs on windows. I removed all of theIGN_DEPRECATED
macros for methods that return pointers in 576efc7 (but left theIGN_DEPRECATED
macros for methods that do not return pointers), and these build errors no longer appear. However, I'm now seeing errors with the function definitions for the templatedView
class (https://build.osrfoundation.org/job/ign_gazebo-pr-win/2858/consoleFull#-11549300628ff58640-3599-4406-a210-216932f1748c):@j-rivero do you have any thoughts about what's going on with the
IGN_DEPRECATED
macro, and also how to resolve thedefinition of dllimport function not allowed
error above?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.
Okay, so it sounds like the
IGN_DEPRECATED
issue has been resolved in #856 (comment). However, I still believe that thedefinition of dllimport function not allowed
error remains. Does anyone have any thoughts about how to handle this other build error?