12 #ifndef STREAMEDTIMESTAMPSYNCHRONIZER_H
13 #define STREAMEDTIMESTAMPSYNCHRONIZER_H
15 #include "cxResourceExport.h"
19 #include "boost/shared_ptr.hpp"
49 void syncToCurrentTime(
ImagePtr imgMsg);
55 void addTimestamp(QDateTime timestamp);
59 void addTimestamp(
double timestamp);
66 double getShift()
const;
74 double average(ITER
begin, ITER
end)
const;
76 mutable double mLastComputedTimestampShift;
77 QList<double> mDeltaWindow;
87 #endif // STREAMEDTIMESTAMPSYNCHRONIZER_H