Template Class DdsReaderListener¶
Defined in File QtToDdsPriv.hpp
Class Documentation¶
-
template<typename T>
class sinspekto::DdsReaderListener : public dds::sub::NoOpDataReaderListener<T>¶ Listener class to dispatch callbacks to a Qt signal function.
When data becomes available the callback function emits a Qt signal so that new data event is registered in Qt’s event loop.
Public Functions
-
inline DdsReaderListener(std::function<void()> QtSignalFcn = nullptr)¶
Constructor.
Takes a function point to a Qt signal function.
Private Members
-
std::function<void()> m_qtEventSignal¶
Function pointer to Qt signal to emit.
-
inline DdsReaderListener(std::function<void()> QtSignalFcn = nullptr)¶