-
Notifications
You must be signed in to change notification settings - Fork 791
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Statistics link between DDS and RTPS layers (#1924)
* MOCK_METHOD->MOCK_METHOD1 Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Added empty DomainParticipantStatisticsListener. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Fixed DataWriter header guard. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Added empty DomainParticipantStatisticsListenerTests. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Added implementation of DomainParticipantStatisticsListenerTests. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Added implementation of DomainParticipantStatisticsListener. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Added simple blackbox test. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Join transform and check topic name. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Add listener. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Link / unlink statistics writer to listener. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Proxy methods to create PublisherImpl and SubscriberImpl. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Alias namespace. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Basic statistics PublisherImpl and SubscriberImpl. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Adressed partial review. * Refs 11273. Proxy method to create DataWriterImpl. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. PublisherImpl creates statistics DataWriterImpl. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Add / remove listener on DataWriterImpl enable / disable. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Blackbox test waits for data. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Extend blackbox test. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Proxy method to create DataReaderImpl. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. SubscriberImpl creates statistics DataReaderImpl Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Add / remove listener on DataReaderImpl enable / disable. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Added DomainParticipantImpl::is_statistics_topic_name Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Do not add listeners to builtin topics. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Linters. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Link listener to participant. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Avoid ABBA on listener Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Avoid ABBA on StatisticsBase. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Improving test Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Add sender_guid to participant sendSync. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Utilities for statistics builtin GUIDs. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Method on_rtps_sent avoids statistics builtin endpoints. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. PublisherImpl method to create DataWriter from DataWriterImpl. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. DomainParticipantImpl keeps builtin_publisher_impl_ Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Proxy method to create RTPS writer. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Keep entity_id on DataWriterImpl. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Added API on RTPSDomain to create writer with specific entity id. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Statistics RTPS writers created with specific entity_id. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Enable RTPS_SENT on blackbox test. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Fix alignment issue on Entity2LocatorTrafficPubSubType. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Fix unused variable warning. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Linters. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Fixed build with statistics disabled. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Header suggestions on sources. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> Co-authored-by: José Luis Bueno López <69244257+JLBuenoLopez-eProsima@users.noreply.github.com> * Refs 11273. Protect against double enable. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Fixed warning on Windows. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Custom entity id indicates keyed writer. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #11273: fix DomainParticipantImpl mock class Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs 11273. Make RTPSStatisticsTests compliant with old versions of gmock. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs 11273. Check on delete_statistics_builtin_entities. Signed-off-by: Miguel Company <MiguelCompany@eprosima.com> * Refs #11273: fix mock statistics tests Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> * Refs #11273: linters Signed-off-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com> Co-authored-by: José Luis Bueno López <69244257+JLBuenoLopez-eProsima@users.noreply.github.com> Co-authored-by: JLBuenoLopez-eProsima <joseluisbueno@eprosima.com>
- Loading branch information
1 parent
cc0eb74
commit 153b1ab
Showing
45 changed files
with
1,738 additions
and
214 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
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.