Skip to content

Commit

Permalink
iox-eclipse-iceoryx#482 add data type restrictions
Browse files Browse the repository at this point in the history
Signed-off-by: Marika Lehmann <marika.lehmann@apex.ai>
  • Loading branch information
FerdinandSpitzschnueffler authored and marthtz committed May 12, 2021
1 parent 85cd0d5 commit 8c3a964
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions doc/website/getting-started/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -72,6 +72,13 @@ instance and topic names are the same for both of them.
This means the group and instance identifier can be ignored to create different ``ServiceDescription``s. They will be
needed for advanced filtering functionality in the future.
The data type of the transmitted data can be any C++ class, struct or plain old data type as long as it satisfies the
following conditions:
- no heap is used
- the data structure is entirely contained in shared memory - no pointers to process local memory, no references to
process local constructs, no dynamic allocators
- the data structure must not internally use pointers/references
### Publisher
- typed/untyped????
Expand Down Expand Up @@ -267,9 +274,8 @@ Now this application is ready to communicate with the middleware daemon RouDi.

### Defining a topic

- restrictions?

We need to define a data type we can send, which can be any struct or class or even a plain type, such as an int.
We need to define a data type we can send. This can be any struct or class or even a plain type, such as an int, as long as
it meets the requirements described in the section ``Service description``.

```cpp
struct CounterTopic
Expand Down

0 comments on commit 8c3a964

Please sign in to comment.