-
Notifications
You must be signed in to change notification settings - Fork 117
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use Fast-DDS Waitsets instead of listeners (#619)
* Initial commit Signed-off-by: Ricardo González Moreno <[email protected]> * Working subscriptions and services Signed-off-by: Ricardo González Moreno <[email protected]> * Add event support Signed-off-by: Ricardo González Moreno <[email protected]> * Initial new event callback Signed-off-by: Ricardo González Moreno <[email protected]> * Use guard_condition with event listeners Signed-off-by: Ricardo González Moreno <[email protected]> * Remove unused functions Signed-off-by: Ricardo González Moreno <[email protected]> * Fixing tests Signed-off-by: Ricardo González Moreno <[email protected]> * Fixing uncrustify Signed-off-by: Ricardo González Moreno <[email protected]> * Simplify SubListener's get_unread_messages() Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Simplified get_unread_requests() and get_unread_responses() Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Moved Waitset creation/destruction outside loop as suggested Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Renamed variable. Removed unneded checks. Replaced get_unread_count with get_first_untaken_info Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Modified oneliners. Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Cleaned more unneeded checks Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Added RCPPUTILS_TSA_GUARDED_BY macros to previously atomic booleans Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Fixed wrong mutex guard. Renamed and removed break; from TERMINATE_THREAD Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Fix waiting events Signed-off-by: Ricardo González Moreno <[email protected]> * Fixing crash Signed-off-by: Ricardo González Moreno <[email protected]> * Fix linking error on Windows Signed-off-by: Ricardo González Moreno <[email protected]> * Usage of new function get_unread_count(bool) Signed-off-by: Ricardo González Moreno <[email protected]> * Fix windows compilation linkage error Signed-off-by: Ricardo González Moreno <[email protected]> * Removed unneeded include. Restored some cleanup code. Added some comments. Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Set nullptr after delete Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Detach listener Signed-off-by: Javier Santiago <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> * Fix creation of datareader for content filter Signed-off-by: Ricardo González Moreno <[email protected]> * Fix wrong usage of take_next_sample with read samples Signed-off-by: Ricardo González Moreno <[email protected]> * Apply suggestions Signed-off-by: Ricardo González Moreno <[email protected]> * Apply suggestion Signed-off-by: Ricardo González Moreno <[email protected]> * Fix rosbag2 failure tests Signed-off-by: Ricardo González Moreno <[email protected]> * Apply suggestions Signed-off-by: Ricardo González Moreno <[email protected]> * Change usage of StatusMask::operator<< Signed-off-by: Ricardo González Moreno <[email protected]> * Protecting a member Signed-off-by: Ricardo González Moreno <[email protected]> * Apply suggestions Signed-off-by: Ricardo González Moreno <[email protected]> * Fix extra space Signed-off-by: Ricardo González Moreno <[email protected]> Signed-off-by: Ricardo González Moreno <[email protected]> Signed-off-by: Javier Santiago <[email protected]> Co-authored-by: Javier Santiago <[email protected]>
- Loading branch information
Showing
38 changed files
with
1,068 additions
and
1,110 deletions.
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
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.