|
RTC Toolkit
0.1.0-alpha
|
#include <ddsPubThread.hpp>
Public Member Functions | |
| PubThreadBase (const char *topic_name) | |
| virtual | ~PubThreadBase () |
| virtual bool | push (topicT const &value) |
| std::string | getTopicName () |
Protected Attributes | |
| bool | push_ret |
| boost::lockfree::spsc_queue< topicT, boost::lockfree::capacity< Q_SIZE > > * | queue_m |
| unsigned long | rcvSamples_m |
| unsigned long | skipedSamples_m |
| uint32_t | lastSkipedSample_m |
| std::string | topic_name_m |
| boost::mutex | mut |
| boost::condition_variable | cond |
DDS publisher thread class that provides queue with aggregated topic to be published by DDS. At the moment the size is hardcoded to 3000 i.e. 3000 agnostic topic samples
|
inline |
|
inlinevirtual |
|
inline |
|
inlinevirtual |
Push aggregated topic to the queue. If it is full an error message is logged.
| value | aggregated topic sample to be put (push) to the queue |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |