Commit 4ef747b
Allow empty payloads in dispose/unregister operations (#6217)
* Allowing to send empty payloads in dispose/unregister ops
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Add tests
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Uncrustify
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Refactor to keep current execution path for most cases
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Making readers able to read empty paoload messages
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Adding tests for RTPS readers
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Fix trace logging in topic_instances example, that always showed the same color on dispose
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Uncrustify
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Make writer write empty payload only if get_payload fails
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Late disposes are not received in history and cause segfault when freed
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Fix asan problems
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Apply easy suggestions from code review
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Emilio Cuesta Fernandez <emiliocuesta@eprosima.com>
* Apply revision part2
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Update src/cpp/fastdds/publisher/DataWriterImpl.cpp
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
Signed-off-by: Emilio Cuesta Fernandez <emiliocuesta@eprosima.com>
* Replace old signature name
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Remove unnecessary check
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Adding assert in case that should not happen
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
* Removing line
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
---------
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
Signed-off-by: Emilio Cuesta Fernandez <emiliocuesta@eprosima.com>
Co-authored-by: Miguel Company <miguelcompany@eprosima.com>
(cherry picked from commit 47bfac0)
# Conflicts:
# test/unittest/dds/publisher/DataWriterTests.cpp1 parent aaf47ca commit 4ef747b
9 files changed
Lines changed: 946 additions & 16 deletions
File tree
- examples/cpp/topic_instances
- src/cpp
- fastdds/publisher
- rtps/reader
- test/unittest
- dds/publisher
- rtps/reader
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
165 | 168 | | |
166 | 169 | | |
167 | 170 | | |
| |||
175 | 178 | | |
176 | 179 | | |
177 | 180 | | |
178 | | - | |
| 181 | + | |
| 182 | + | |
| 183 | + | |
179 | 184 | | |
180 | 185 | | |
181 | 186 | | |
| |||
184 | 189 | | |
185 | 190 | | |
186 | 191 | | |
187 | | - | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
188 | 195 | | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
189 | 199 | | |
190 | 200 | | |
191 | 201 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
101 | 101 | | |
102 | 102 | | |
103 | 103 | | |
| 104 | + | |
| 105 | + | |
104 | 106 | | |
105 | 107 | | |
106 | 108 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1021 | 1021 | | |
1022 | 1022 | | |
1023 | 1023 | | |
1024 | | - | |
| 1024 | + | |
| 1025 | + | |
| 1026 | + | |
| 1027 | + | |
| 1028 | + | |
| 1029 | + | |
| 1030 | + | |
1025 | 1031 | | |
1026 | | - | |
1027 | | - | |
| 1032 | + | |
| 1033 | + | |
| 1034 | + | |
| 1035 | + | |
| 1036 | + | |
| 1037 | + | |
1028 | 1038 | | |
1029 | | - | |
| 1039 | + | |
| 1040 | + | |
| 1041 | + | |
| 1042 | + | |
| 1043 | + | |
| 1044 | + | |
| 1045 | + | |
| 1046 | + | |
1030 | 1047 | | |
1031 | | - | |
1032 | | - | |
1033 | | - | |
| 1048 | + | |
| 1049 | + | |
1034 | 1050 | | |
1035 | 1051 | | |
1036 | 1052 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
649 | 649 | | |
650 | 650 | | |
651 | 651 | | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
| 655 | + | |
| 656 | + | |
| 657 | + | |
| 658 | + | |
| 659 | + | |
| 660 | + | |
| 661 | + | |
652 | 662 | | |
653 | 663 | | |
654 | 664 | | |
| |||
671 | 681 | | |
672 | 682 | | |
673 | 683 | | |
674 | | - | |
| 684 | + | |
| 685 | + | |
| 686 | + | |
| 687 | + | |
675 | 688 | | |
676 | 689 | | |
677 | 690 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
658 | 658 | | |
659 | 659 | | |
660 | 660 | | |
| 661 | + | |
| 662 | + | |
| 663 | + | |
| 664 | + | |
| 665 | + | |
| 666 | + | |
| 667 | + | |
| 668 | + | |
| 669 | + | |
| 670 | + | |
661 | 671 | | |
662 | 672 | | |
663 | 673 | | |
| |||
680 | 690 | | |
681 | 691 | | |
682 | 692 | | |
683 | | - | |
| 693 | + | |
| 694 | + | |
| 695 | + | |
| 696 | + | |
684 | 697 | | |
685 | 698 | | |
686 | 699 | | |
| |||
0 commit comments