#include <ddsPubThread.hpp>
◆ PubThread()
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ ~PubThread()
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ CreateSimThread()
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
Create thread for simulation.
Is either created thread for publish simulated or "real" topic samples.
- Parameters
-
f | rate (frequency) with which the simulated (dummy) topic sample are published |
◆ CreateThread()
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
Create thread for publishing data from the queue.
Is either created thread for publish simulated or "real" topic samples.
◆ JoinThread()
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ PrintAffinity()
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
Print to the log the set CPU thread affinity.
◆ ReadQueuePub()
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
Thread worker that reads (pops) agnostic topic from queue and publishes it via DDS.
◆ SetAffinity()
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
set affinity of the thread.
- Parameters
-
◆ SimPub()
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
Thread worker in case of simulation i.e.
just dummy agnostic topic is published with certain configure rate
◆ m_data_writer
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ m_framecounter
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ m_last_sample_id
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ m_loop
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ m_message
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ m_msg
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ m_sample_id
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ m_sim_loop_sleep
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
◆ m_thread
template<typename T = rtctk::AgnosticTopic, uint16_t Q_SIZE = 300, typename TDW = TypedDataWriter>
The documentation for this class was generated from the following file: