User Tools

Site Tools


ddsf:public:guidebook:06_append:glossary:d:data_reader

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
ddsf:public:guidebook:06_append:glossary:d:data_reader [2021/03/17 16:24]
admin ↷ Links adapted because of a move operation
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:​guidebook:​06_append:​glossary| Return to Glossary ]]+[[ddsf:public:​guidebook:​06_append:​glossary:start| Return to Glossary ]]
  
-An [[ddsf:private:​guidebook:​06_append:​glossary:​e:​entity|entity]] attached to a [[ddsf:private:​guidebook:​06_append:​glossary:​s:​subscriber|Subscriber]],​ used to subscribe to a [[ddsf:private:​guidebook:​06_append:​glossary:​t:​topic|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:
  
-  * [[ddsf:private:​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. +  * [[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 [[ddsf:private:​guidebook:​06_append:​glossary:​w:​waitset|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, ​
ddsf/public/guidebook/06_append/glossary/d/data_reader.1616012662.txt.gz · Last modified: 2021/03/17 16:24 by admin