Template Class DataSynchronizer

Class Documentation

template<typename DataTypeA, typename DataTypeB, typename TimestampExtractorA = DefaultTimestampExtractor<DataTypeA>, typename TimestampExtractorB = DefaultTimestampExtractor<DataTypeB>>
class common::DataSynchronizer

Public Types

typedef std::function<void(const DataTypeA&, const DataTypeB&)> SynchronizedDataCallback

Public Functions

inline DataSynchronizer()
inline void processTypeA(const DataTypeA &data)
inline void processTypeB(const DataTypeB &data)
inline void clear()
inline std::pair<size_t, size_t> getContainerSizes() const
inline void registerCallback(const SynchronizedDataCallback &cb)