API 4.4.1-2022-10-19-2c4045e59
For MATLAB, Python, Java, and C++ users
|
This base class defines the interface for a DataQueue. More...
Public Member Functions | |
DataQueueEntry_ (double timeStamp, const SimTK::RowVectorView_< U > &data) | |
DataQueueEntry_ (const DataQueueEntry_ &other)=default | |
DataQueueEntry_ (DataQueueEntry_ &&)=default | |
DataQueueEntry_ & | operator= (const DataQueueEntry_ &)=default |
virtual | ~DataQueueEntry_ () |
double | getTimeStamp () const |
SimTK::RowVectorView_< U > | getData () const |
This base class defines the interface for a DataQueue.
A data structure to maintain a queue of data to be passed between computations that are potentially different in processing speeds, decoupling the producers (e.g. File or live stream) from consumers.
Synchronization mechanism will be implmented later to allow handling of multiple threads or significant differences in speeds.
|
inline |
|
default |
|
default |
|
inlinevirtual |
|
inline |
Referenced by OpenSim::DataQueue_< T >::pop_front().
|
inline |
Referenced by OpenSim::DataQueue_< T >::pop_front().
|
default |