Skip to content

Commit 6e2bdbb

Browse files
iox-#1295 (DROP ME) Rework examples, FAQ and config guide articles
1 parent 0c8ff09 commit 6e2bdbb

File tree

11 files changed

+24
-25
lines changed

11 files changed

+24
-25
lines changed

doc/website/FAQ.md

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ In this document are tips and hints documented which can help for troubleshootin
44

55
## Does iceoryx run in a docker environment?
66

7-
Yes. Take a look at the [icedocker example](../../iceoryx_examples/icedocker/)
7+
Yes. Take a look at the [icedocker example](examples/icedocker.md)
88

99
## iceoryx crashes with SIGABRT when reserving shared memory in a docker envirnonment
1010

@@ -33,7 +33,7 @@ Either
3333

3434
or
3535

36-
* Use the [blocking publisher feature](../../iceoryx_examples/iceoptions/)
36+
* Use the [blocking publisher feature](examples/iceoptions.md)
3737

3838
!!! caution
3939
The usage of the blocking publisher feature needs to be considered carefully as other subscribers will not receive
@@ -62,7 +62,7 @@ Possible solutions are one of the following:
6262
1. Increase [memory configuration of RouDi](advanced/configuration-guide.md)
6363
1. Make sure that the receiving frequency is higher than the publishing one
6464
1. Reduce `SubscriberOptions::queueCapacity` to hold less samples in the mempool on the subscriber side
65-
1. Consider using the [blocking publisher feature](../../iceoryx_examples/iceoptions/). The usage needs to be
65+
1. Consider using the [blocking publisher feature](examples/iceoptions.md). The usage needs to be
6666
considered carefully as other subscribers will not receive samples while the publisher is blocked.
6767

6868
!!! caution
@@ -162,13 +162,13 @@ docker run -it --shm-size="2g" ubuntu
162162
To avoid undefined behavior of iceoryx posh it is recommended to terminate RouDi and the corresponding middleware
163163
processes with SIGINT or SIGTERM. In RouDi, we have integrated a sighandler that catches the signals and gives RouDi
164164
the chance to exit and clean-up everything. This also applies for processes. Therefore, we recommend adding a signalhandler
165-
to your process (see [this example](../../iceoryx_examples/icedelivery/iox_publisher_untyped.cpp)).
165+
to your process (see [this example](https://github.com/eclipse-iceoryx/iceoryx/blob/v3.0.0/iceoryx_examples/icedelivery/iox_publisher_untyped.cpp)).
166166

167167
## How to use iceoryx as external dependency with bazel
168168

169169
Define iceoryx repository information in your [WORKSPACE](https://bazel.build/concepts/build-ref#workspace)
170-
then calling bazel macro from [load_repositories.bzl](https://github.com/eclipse-iceoryx/iceoryx/blob/main/bazel/load_repositories.bzl)
171-
and [setup_repositories.bzl](https://github.com/eclipse-iceoryx/iceoryx/blob/main/bazel/setup_repositories.bzl) for loading transitive dependencies.
170+
then calling bazel macro from [load_repositories.bzl](https://github.com/eclipse-iceoryx/iceoryx/blob/v3.0.0/bazel/load_repositories.bzl)
171+
and [setup_repositories.bzl](https://github.com/eclipse-iceoryx/iceoryx/blob/v3.0.0/bazel/setup_repositories.bzl) for loading transitive dependencies.
172172

173173
```
174174
load("@bazel_tools//tools/build_defs/repo:http.bzl", "http_archive")
@@ -188,5 +188,4 @@ load("@eclipse_iceoryx//bazel:load_repositories.bzl", "load_repositories")
188188
load("@eclipse_iceoryx//bazel:setup_repositories.bzl", "setup_repositories")
189189
load_repositories()
190190
setup_repositories()
191-
192191
```

doc/website/advanced/configuration-guide.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ in the shared memory segment called `iceoryx_mgmt` when RouDi is started.
2121
| `IOX_MAX_INTERFACE_NUMBER` | Maximum number of interface ports which are used by gateways |
2222
| `IOX_MAX_REQUESTS_PROCESSED_SIMULTANEOUSLY` | Maximum number of server can process request in parallel |
2323

24-
Have a look at [IceoryxHoofsDeployment.cmake](../../../iceoryx_hoofs/cmake/IceoryxHoofsDeployment.cmake) and
25-
[IceoryxPoshDeployment.cmake](../../../iceoryx_posh/cmake/IceoryxPoshDeployment.cmake) for the default values of the constants.
24+
Have a look at [IceoryxHoofsDeployment.cmake](https://github.com/eclipse-iceoryx/iceoryx/blob/v3.0.0/iceoryx_hoofs/cmake/IceoryxHoofsDeployment.cmake) and
25+
[IceoryxPoshDeployment.cmake](https://github.com/eclipse-iceoryx/iceoryx/blob/v3.0.0/iceoryx_posh/cmake/IceoryxPoshDeployment.cmake) for the default values of the constants.
2626

2727
!!! hint
2828
With the default values set, the size of `iceoryx_mgmt` is ~64.5 MByte. You
@@ -93,7 +93,7 @@ for communication.
9393
user-payload will be smaller than the configured chunk-payload since some
9494
space is needed for the other functionality.
9595
Please have a look at the
96-
[chunk_header.md](../../design/chunk_header.md)
96+
[chunk_header.md](https://github.com/eclipse-iceoryx/iceoryx/blob/v3.0.0/doc/design/chunk_header.md)
9797
design document for a formula how to determine the necessary chunk-payload
9898
size with user-header and extended user-payload alignment.
9999
@@ -212,7 +212,7 @@ count = 100
212212
```
213213

214214
When no configuration file is specified a hard-coded version similar to the
215-
[default config](../../../iceoryx_posh/etc/iceoryx/roudi_config_example.toml)
215+
[default config](https://github.com/eclipse-iceoryx/iceoryx/blob/v3.0.0/iceoryx_posh/etc/iceoryx/roudi_config_example.toml)
216216
will be used.
217217

218218
### Static configuration
@@ -254,4 +254,4 @@ int main(int argc, char* argv[])
254254
```
255255
256256
A working example of a static config can be found
257-
[here](../../../iceoryx_examples/iceperf/roudi_main_static_config.cpp).
257+
[here](https://github.com/eclipse-iceoryx/iceoryx/blob/v3.0.0/iceoryx_examples/iceperf/roudi_main_static_config.cpp).

iceoryx_examples/callbacks/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -223,7 +223,7 @@ You just have to provide a reference to a value as additional argument in the `a
223223
which is then provided as argument in your callback. One of the use cases is to get access
224224
to members and methods of an object inside a static method which we demonstrate here.
225225
226-
This example is identical to the [ice_callbacks_subscriber.cpp](#ice_callbacks_subscriber.cpp)
226+
This example is identical to the [ice_callbacks_subscriber.cpp](#ice_callbacks_subscribercpp)
227227
one, except that we left out the cyclic heartbeat trigger. The key difference is that
228228
the listener is now a class member and in every callback we would like to change
229229
some member variables. For this we require an additional pointer to the object

iceoryx_examples/callbacks_in_c/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ within the callback. To facilitate this we provide the functions called
219219
additional void pointer for the callback as second argument.
220220
221221
The following example is a simplified version of the
222-
[ice_c_callbacks_subscriber.c](#ice_c_callbacks_subscriber.c) example where we
222+
[ice_c_callbacks_subscriber.c](#ice_c_callbacks_subscriberc) example where we
223223
removed the cyclic heartbeat trigger. The key difference is that we have
224224
a local variable called `counterService` in which we store the `leftCache`
225225
and `rightCache` and we let the callback update that variable directly.

iceoryx_examples/complexdata/README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44

55
To implement zero-copy data transfer we use a shared memory approach. This requires that every data structure needs to be entirely
66
contained in the shared memory and must not internally use pointers or references. The complete list of restrictions can be found
7-
[here](../../doc/website/getting-started/overview.md#restrictions). Therefore, most of the STL types cannot be used, but we
8-
reimplemented some [constructs](../../iceoryx_hoofs/README.md#cxx). This example shows how
7+
[here](../getting-started/overview.md#restrictions). Therefore, most of the STL types cannot be used, but we
8+
reimplemented some [constructs](../advanced/iceoryx_hoofs.md#cxx). This example shows how
99
to send/receive a iox::vector and how to send/receive a complex data structure containing some of our STL container surrogates.
1010

1111
## Expected Output
@@ -63,7 +63,7 @@ for (const auto& entry : *sample)
6363

6464
In this example our publisher will send a more complex data structure. It contains some of the STL containers that are reimplemented
6565
in iceoryx. A list of all reimplemented containers can be found
66-
[here](../../iceoryx_hoofs/README.md#cxx).
66+
[here](../advanced/iceoryx_hoofs.md#cxx).
6767

6868
<!--[geoffrey][iceoryx_examples/complexdata/topic_data.hpp][complexdata type]-->
6969
```cpp
@@ -116,7 +116,7 @@ handleInsertionReturnVal(sample->optionalList.push_front(iox::nullopt));
116116

117117
!!! note
118118
If you're not familiar with `optional`, please have a look at
119-
[How optional and error values are returned in iceoryx](../../doc/website/concepts/how-optional-and-error-values-are-returned-in-iceoryx.md#optional).
119+
[How optional and error values are returned in iceoryx](../concepts/how-optional-and-error-values-are-returned-in-iceoryx.md#optional).
120120

121121
Now we fill the stack
122122

iceoryx_examples/icecrystal/Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ We re-use the binaries from
1717
## Feature walkthrough
1818

1919
This example does not contain any additional code. The code of the `iceoryx_introspection_client` can be found under
20-
[tools/introspection/](../../tools/introspection).
20+
[tools/introspection/](https://github.com/eclipse-iceoryx/iceoryx/tree/v3.0.0/tools/introspection).
2121

2222
The introspection can be started with several command line arguments.
2323

iceoryx_examples/icedelivery_in_c/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# icedelivery in C
22

33
You can find a more detailed description of the C API in the
4-
[iceoryx_binding_c README.md](../../iceoryx_binding_c/README.md).
4+
[iceoryx_binding_c README.md](https://github.com/eclipse-iceoryx/iceoryx/blob/v3.0.0/iceoryx_binding_c/README.md).
55

66
## Introduction
77

iceoryx_examples/icediscovery/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ It is included via:
4949
```
5050

5151
On that object we can call the method `findService` which expects the three
52-
service [string identifiers](../../doc/website/getting-started/overview.md#creating-service-descriptions-for-topics)
52+
service [string identifiers](../getting-started/overview.md#creating-service-descriptions-for-topics)
5353
and a callable which will be applied to all matching services.
5454
In addition, we have to specify whether we want to search for publishers (`MessagingPattern::PUB_SUB`)
5555
used in publish-subscribe communication or servers (`MessagingPattern::REQ_RES`) used in

iceoryx_examples/request_response_in_c/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Request response in C
22

33
You can find a more detailed description of the C API in the
4-
[iceoryx_binding_c README.md](../../iceoryx_binding_c/README.md).
4+
[iceoryx_binding_c README.md](https://github.com/eclipse-iceoryx/iceoryx/blob/v3.0.0/iceoryx_binding_c/README.md).
55

66
## Introduction
77

iceoryx_examples/small_memory/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
In some cases, it is needed to run iceoryx on systems with limited memory
66
availability. For such cases, it is possible to configure the resource
77
management limits as documented in the
8-
[configuration guide](../../doc/website/advanced/configuration-guide.md).
8+
[configuration guide](../advanced/configuration-guide.md).
99

1010
This configuration has two parts:
1111
* The resource limits set in cmake during configuration with options in the

0 commit comments

Comments
 (0)