33 #ifndef STREAMEDTIMESTAMPSYNCHRONIZER_H
34 #define STREAMEDTIMESTAMPSYNCHRONIZER_H
36 #include "cxResourceExport.h"
40 #include "boost/shared_ptr.hpp"
70 void syncToCurrentTime(
ImagePtr imgMsg);
76 void addTimestamp(QDateTime timestamp);
80 void addTimestamp(
double timestamp);
87 double getShift()
const;
95 double average(ITER
begin, ITER
end)
const;
97 mutable double mLastComputedTimestampShift;
98 QList<double> mDeltaWindow;
108 #endif // STREAMEDTIMESTAMPSYNCHRONIZER_H
boost::shared_ptr< class Image > ImagePtr