You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Optionally you can use buildall option to get coverage for extensions like DDS or C-Binding.
154
+
Optionally you can use build-all option to get coverage for extensions like DDS or C-Binding.
155
155
The -c flag indicates that you want to have a coverage report and you can pass there the needed testlevel. Per default the testlevel is set to 'all'.
156
156
example:
157
157
```
158
-
./tools/iceoryx_build_test.sh buildall clean -c unit
158
+
./tools/iceoryx_build_test.sh build-all clean -c unit
159
159
```
160
160
For having only reports for unit-test. In the script tools/gcov/lcov_generate.sh is the initial scan, filtering and report generation automatically done.
Copy file name to clipboardExpand all lines: iceoryx_examples/icedelivery/README.md
+24-35Lines changed: 24 additions & 35 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,12 +2,12 @@
2
2
3
3
## Introduction
4
4
5
-
This example showcases a one-way data transmission setup with zero-copy inter-process communication (IPC) on iceoryx.
6
-
It provides publisher and subscriber applications. They come in two API flavours (untyped and typed).
5
+
This example showcases a data transmission setup with zero-copy inter-process communication (IPC) on iceoryx.
6
+
It provides publisher and subscriber applications. They come in two C++ API flavours (untyped and typed). Check icedelivery_on_c for the C API
7
7
8
8
## Run icedelivery
9
9
10
-
Create three terminals and run one command in each of them. Choose one publisher and one subscriber and mix the typed and untyped versions.
10
+
Create different terminals and run one command in each of them. Choose at least one publisher and one subscriber for having a data communication. You can also mix the typed and untyped versions. And if you feel like crazy today you start several publishers and subscribers from icedelivery and icedelivery_on_c (needs the default n:m communication, not possible if you build with the ONE_TO_MANY option)
11
11
```sh
12
12
# If installed and available in PATH environment variable
13
13
iox-roudi
@@ -46,31 +46,27 @@ RouDi is ready for clients
46
46
```
47
47
2020-12-20 16:05:01.837 [ Debug ]: Application registered management segment 0x7fd6d39e3000 with size 64244064 to id 1
48
48
2020-12-20 16:26:42.791 [ Info ]: Application registered payload segment 0x7f377c4e6000 with size 149134400 to id 2
49
-
Sent {five,two} times value: (1, 1, 1)
50
-
Sent {five,two} times value: (2, 2, 2)
51
-
Sent {five,two} times value: (3, 3, 3)
49
+
Sent {five,two} times value: 1
50
+
Sent {five,two} times value: 2
51
+
Sent {five,two} times value: 3
52
52
```
53
53
54
54
### Subscriber application (typed)
55
55
```
56
56
2020-12-20 16:26:58.839 [ Debug ] Application registered management segment 0x7f6353c04000 with size 64244064 to id 1
57
57
2020-12-20 16:26:58.839 [ Info ] Application registered payload segment 0x7f634ab8c000 with size 149134400 to id 2
58
58
Not subscribed!
59
-
Got value: (2, 2, 2)
60
-
Got value: (2, 2, 2)
61
-
Got value: (2, 2, 2)
62
-
Got value: (2, 2, 2)
63
-
Got value: (2, 2, 2)
64
-
Didn't get a value, but do something anyway.
65
-
Didn't get a value, but do something anyway.
66
-
Didn't get a value, but do something anyway.
67
-
Didn't get a value, but do something anyway.
68
-
Didn't get a value, but do something anyway.
69
-
Got value: (3, 3, 3)
70
-
Got value: (3, 3, 3)
71
-
Got value: (3, 3, 3)
72
-
Got value: (3, 3, 3)
73
-
Got value: (3, 3, 3)
59
+
Got value: 2
60
+
Got value: 2
61
+
Got value: 2
62
+
Got value: 2
63
+
Got value: 2
64
+
65
+
Got value: 3
66
+
Got value: 3
67
+
Got value: 3
68
+
Got value: 3
69
+
Got value: 3
74
70
75
71
```
76
72
@@ -79,18 +75,12 @@ Got value: (3, 3, 3)
79
75
2020-12-20 16:26:58.839 [ Debug ] Application registered management segment 0x7f6353c04000 with size 64244064 to id 1
80
76
2020-12-20 16:26:58.839 [ Info ] Application registered payload segment 0x7f634ab8c000 with size 149134400 to id 2
81
77
Not subscribed!
82
-
Got value: (2, 2, 2)
83
-
Got value: (2, 2, 2)
84
-
Didn't get a value, but do something anyway.
85
-
Didn't get a value, but do something anyway.
86
-
Didn't get a value, but do something anyway.
87
-
Didn't get a value, but do something anyway.
88
-
Didn't get a value, but do something anyway.
89
-
Didn't get a value, but do something anyway.
90
-
Didn't get a value, but do something anyway.
91
-
Didn't get a value, but do something anyway.
92
-
Got value: (3, 3, 3)
93
-
Got value: (3, 3, 3)
78
+
Got value: 2
79
+
Got value: 2
80
+
81
+
82
+
Got value: 3
83
+
Got value: 3
94
84
```
95
85
96
86
## Code walkthrough
@@ -293,8 +283,7 @@ need to take care about all cases, but it is advised to do so.
293
283
In the `and_then` case the content of the sample is printed to the command line:
294
284
```cpp
295
285
auto object = static_cast<const RadarObject*>(sample->get());
0 commit comments