Update getting started guide to use new QoS function names
Signed-off-by: Erik Boasson <eb@ilities.com>
This commit is contained in:
parent
22b9aedd0f
commit
68f2ce9724
1 changed files with 2 additions and 2 deletions
|
@ -261,10 +261,10 @@ a so called 'reliable' reader. Without going into details, the reader
|
||||||
will be created like this
|
will be created like this
|
||||||
::
|
::
|
||||||
|
|
||||||
dds_qos_t *qos = dds_qos_create ();
|
dds_qos_t *qos = dds_create_qos ();
|
||||||
dds_qset_reliability (qos, DDS_RELIABILITY_RELIABLE, DDS_SECS (10));
|
dds_qset_reliability (qos, DDS_RELIABILITY_RELIABLE, DDS_SECS (10));
|
||||||
reader = dds_create_reader (participant, topic, qos, NULL);
|
reader = dds_create_reader (participant, topic, qos, NULL);
|
||||||
dds_qos_delete(qos);
|
dds_delete_qos(qos);
|
||||||
|
|
||||||
We are almost able to read data. However, the read expects an
|
We are almost able to read data. However, the read expects an
|
||||||
array of pointers to valid memory locations. This means the
|
array of pointers to valid memory locations. This means the
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue