14 : ready_to_send_(false)
15 , active_transaction_count_(0)
22 const bool empty_before =
queue_.empty();
30 const bool empty_before =
queue_.empty();
31 for (MetaSubmessageVec::const_iterator it = vec.begin(), limit = vec.end(); it != limit; ++it) {
34 return empty_before && !
queue_.empty();
65 for (MetaSubmessageVec::iterator pos =
queue_.begin(), limit =
queue_.end(); pos != limit; ++pos) {
66 if (pos->src_guid_ == local && pos->dst_guid_ == remote) {
75 for (MetaSubmessageVec::iterator pos =
queue_.begin(), limit =
queue_.end(); pos != limit; ++pos) {
76 if (pos->dst_guid_ ==
id) {
85 for (MetaSubmessageVec::iterator pos =
queue_.begin(), limit =
queue_.end(); pos != limit; ++pos) {
86 if (pos->src_guid_ ==
id) {
void ready_to_send()
Indicate that the queue is ready to send after all pending transactions are complete.
void begin_transaction()
Signal that a thread is beginning to send a sequence of submessages.
size_t active_transaction_count_
TransactionalRtpsSendQueue()
void end_transaction(MetaSubmessageVec &vec)
void ignore(const GUID_t &local, const GUID_t &remote)
Mark all queued submessage with the given source and destination as ignored.
void ignore_remote(const GUID_t &id)
Mark all queued submessage with the given destination (dst_guid_) as ignored.
#define OPENDDS_END_VERSIONED_NAMESPACE_DECL
bool enqueue(const MetaSubmessage &ms)
The Internal API and Implementation of OpenDDS.
void ignore_local(const GUID_t &id)
Mark all queued submessage with the given source (src_guid_) as ignored.