This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
|
ddsf:public:guidebook:06_append:glossary:d:data_reader [2020/09/25 17:23] murphy |
ddsf:public:guidebook:06_append:glossary:d:data_reader [2021/07/14 16:37] (current) murphy ↷ Links adapted because of a move operation |
||
|---|---|---|---|
| Line 1: | Line 1: | ||
| ==== Data Reader ==== | ==== Data Reader ==== | ||
| - | [[ddsf:private:cookbook:06_append:glossary| Return to Glossary ]] | + | [[ddsf:public:guidebook:06_append:glossary:start| Return to Glossary ]] |
| - | An [[ddsf:private:cookbook:06_append:glossary:e:entity|entity]] attached to a Subscriber, used to subscribe to a Topic, | + | An [[ddsf:public:guidebook:06_append:glossary:e:entity|entity]] attached to a [[ddsf:public:guidebook:06_append:glossary:s:subscriber|Subscriber]], used to subscribe to a [[ddsf:public:guidebook:06_append:glossary:t:topic|Topic]], |
| providing type-safe operations to read/receive data. | providing type-safe operations to read/receive data. | ||
| Each Data Reader can be associated to only one Topic and therefore | Each Data Reader can be associated to only one Topic and therefore | ||
| Line 8: | Line 8: | ||
| Reader. A data reader can obtain its subscribed data via two approaches: | Reader. A data reader can obtain its subscribed data via two approaches: | ||
| - | * Listener-based approach, provides an asynchronous mechanism to obtain data via call-backs in a separate thread that does not block the main application. | + | * [[ddsf:public:guidebook:06_append:glossary:l:listener|Listener]]-based approach, provides an asynchronous mechanism to obtain data via call-backs in a separate thread that does not block the main application. |
| - | * WaitSet-based Approach – A synchronous approach, blocks the current thread until one or more conditions attached to the WaitSet are met, at which point a list of active_conditions are returned. | + | * WaitSet-based Approach – A synchronous approach, blocks the current thread until one or more conditions attached to the [[ddsf:public:guidebook:06_append:glossary:w:waitset|WaitSet]] are met, at which point a list of active_conditions are returned. |
| There are several ways samples can be read using a data reader, | There are several ways samples can be read using a data reader, | ||