Skip to content

Commit

Permalink
Examples refactor: Flow Controller (#4999)
Browse files Browse the repository at this point in the history
* Refs #21185: Move dds/FlowControlExample in flow_control

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Refactor main, cliparser and application

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Change extension, name and guard of publisher app and subscriber app

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Add Application

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Publisher refactor

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Subscriber refactor

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Rename FlowControlExample FlowControl

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Add CLiParser

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Main refactor

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Add flags to configure FlowControllerDescriptor

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Disable data sharing and add publish function

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Publisher sends infinite number of samples

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Add samples flag to send or receive a finite number of samples

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Add  bandwidth_reservation and priority property

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Update version.md

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Add test

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Uncrustify

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Apply Eduardo's suggestions

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Suggestions: Add mutex to control access to matched_

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Suggestions: Add is_stopped condition on_data_available in xtype example

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Add XML file to set some QoS for the test

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Send User Data to share the information about the kind of writer

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Change type and regenerate type: remove unused field and add index

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Fix compilation after rebase

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Add explanation about User Data in Readme

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Fix windows warning

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Uncrustify

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Apply suggestions

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Throw error if a publication fail

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Manage receiving messages from multiple publishers

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Uncrustify

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Remove initialization

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Copy xml file in the build folder

Signed-off-by: elianalf <[email protected]>

* Refs #21185: Change on_data_writer_discovery after refactor

Signed-off-by: elianalf <[email protected]>

* Refs #21185: adjust because write returns ret_code

Signed-off-by: elianalf <[email protected]>

---------

Signed-off-by: elianalf <[email protected]>
  • Loading branch information
elianalf committed Jul 18, 2024
1 parent ad17121 commit fdc3f89
Show file tree
Hide file tree
Showing 33 changed files with 1,859 additions and 863 deletions.
1 change: 1 addition & 0 deletions examples/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ add_subdirectory(cpp/custom_payload_pool)
add_subdirectory(cpp/dds)
add_subdirectory(cpp/delivery_mechanisms)
add_subdirectory(cpp/discovery_server)
add_subdirectory(cpp/flow_control)
add_subdirectory(cpp/hello_world)
add_subdirectory(cpp/request_reply)
add_subdirectory(cpp/rtps)
Expand Down
1 change: 0 additions & 1 deletion examples/cpp/dds/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
# limitations under the License.

add_subdirectory(DynamicHelloWorldExample)
add_subdirectory(FlowControlExample)
add_subdirectory(HelloWorldExampleDataSharing)
add_subdirectory(HelloWorldExampleSharedMem)
add_subdirectory(HelloWorldExampleTCP)
Expand Down
2 changes: 0 additions & 2 deletions examples/cpp/dds/FlowControlExample/.gitignore

This file was deleted.

5 changes: 0 additions & 5 deletions examples/cpp/dds/FlowControlExample/FlowControlExample.idl

This file was deleted.

This file was deleted.

214 changes: 0 additions & 214 deletions examples/cpp/dds/FlowControlExample/FlowControlExamplePublisher.cxx

This file was deleted.

Loading

0 comments on commit fdc3f89

Please sign in to comment.