DUECA/DUSIME
|
Base class for DataReader access template objects. More...
#include <DataReaderBase.hxx>
Protected Member Functions | |
const void * | getAccess (DataReaderBase &b, TimeTickType t, DataTimeSpec &ts_data, unsigned int magic) |
Get access to the data valid at a specific time. | |
const DataTimeSpec & | t_request (DataReaderBase &b) |
Access the DataReaderBase request time. | |
DataTimeSpec & | ts_data (DataReaderBase &b) |
Access the DataReaderBase data time. | |
bool & | firstaccess (DataReaderBase &b) |
Access the DataReaderBase access boolean. | |
void | releaseAccess (ChannelReadToken &token, const void *data_ptr) |
Release the read access again. | |
void | releaseAccess (DataReaderBase &b, const void *data_ptr) |
Release the read access again, from a base. | |
void | releaseAccessKeepData (ChannelReadToken &token, const void *data_ptr) |
Release the read access, but keep the current data. | |
void | selectFirstEntry (DataReaderBase &b) |
Select the first entry in a multi-entry read. | |
bool | haveEntry (DataReaderBase &b) |
Is there an entry currently. | |
void | selectNextEntry (DataReaderBase &b) |
Pass to the next entry. | |
const GlobalId & | getChannelId (DataReaderBase &b) |
Get the id of the channel. | |
const GlobalId & | getClientId (DataReaderBase &b) |
Get the id of the accessing client. | |
bool | isSequential (DataReaderBase &b) |
Is reading sequential, or indexed-access. | |
Base class for DataReader access template objects.
The DataReader class can access the data in the channel in a variety of ways. A template parameter in this class determines how the data in the channel is found; either joining data from all entries matching the data type, getting data that matches a specific time, etc.
|
inlineprotected |
Get access to the data valid at a specific time.
Uses the token of the DataReaderBase class. The token returns the data valid at, or the latest data before the requested time, check the returned time spec for the result.
b | Reader base class, for token access. |
t | Time for which access is requested. |
ts_data | Time span or time point of the returned data. |
magic | Datatype magic number, for verification. |