DUECA/DUSIME
Loading...
Searching...
No Matches
Public Member Functions | List of all members
dueca::MatchIntervalStart< T > Class Template Reference

Data selector class. More...

#include <DataReader.hxx>

Inheritance diagram for dueca::MatchIntervalStart< T >:
Inheritance graph
[legend]
Collaboration diagram for dueca::MatchIntervalStart< T >:
Collaboration graph
[legend]

Public Member Functions

 MatchIntervalStart (DataReaderBase &r)
 Constructor.
 
const Taccess (DataReaderBase &r)
 extrapolate the data object data, which became valid for a time data_time, to a time in the future or past wish_time.
 
const void release (ChannelReadToken &token)
 Release a previous access.
 

Detailed Description

template<class T>
class dueca::MatchIntervalStart< T >

Data selector class.

The DataReader objects access data in a channel using ChannelReadToken objects. A DataReader is supplied with a time specification for the requested data interval at its construction. The data selector class template parameter defines how that interval is interpreted in accessing the data.

Behaviour of this MatchIntervalStart class, explained for the four different cases created by the combination of reading mode and channel entry data type:

Note that for this access, only the combination time access reading with stream data makes sense.

Constructor & Destructor Documentation

◆ MatchIntervalStart()

template<class T >
dueca::MatchIntervalStart< T >::MatchIntervalStart ( DataReaderBase & r)
inline

Constructor.

Essential to initialize data pointer to NULL

Member Function Documentation

◆ access()

template<class T >
const T & dueca::MatchIntervalStart< T >::access ( DataReaderBase & r)
inline

extrapolate the data object data, which became valid for a time data_time, to a time in the future or past wish_time.

This one actually does nothing but return the unchanged data object.

Parameters
rBase class for the calling datareader object.
Returns
A reference to the extrapolated data.

The documentation for this class was generated from the following file: