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

Example extrapolation (actually no-extrapolation) class. More...

#include <MultiStreamReader.hxx>

Public Member Functions

const Twarp (const T &data, const TimeTickType data_time, const TimeTickType wish_time)
 extrapolate the data object data, which became valid for a time data_time, to a time in the future or past wish_time.
 

Detailed Description

template<class T>
class dueca::NoExtrapolation< T >

Example extrapolation (actually no-extrapolation) class.

Default class for the MultiStreamReader. You can use this as a template to create actual extrapolation classes.

Member Function Documentation

◆ warp()

template<class T >
const T & dueca::NoExtrapolation< T >::warp ( const T & data,
const TimeTickType data_time,
const TimeTickType wish_time )
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
dataObject of extrapolation.
data_timeTime associated with the object, in integer ticks.
wish_timeTime that an extrapolated object should be valid for.
Returns
A reference to the extrapolated data.

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