OpenDDS::DCPS::TransportQueueElement::MatchOnDataPayload Class Reference

#include <TransportQueueElement.h>

Inheritance diagram for OpenDDS::DCPS::TransportQueueElement::MatchOnDataPayload:

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::TransportQueueElement::MatchOnDataPayload:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 MatchOnDataPayload (const char *data)
virtual ~MatchOnDataPayload ()
virtual bool matches (const TransportQueueElement &candidate) const
virtual bool unique () const

Private Attributes

const char * data_

Detailed Description

Definition at line 75 of file TransportQueueElement.h.


Constructor & Destructor Documentation

OpenDDS::DCPS::TransportQueueElement::MatchOnDataPayload::MatchOnDataPayload ( const char *  data  )  [inline, explicit]

Definition at line 77 of file TransportQueueElement.h.

00077 : data_(data) {}

OpenDDS::DCPS::TransportQueueElement::MatchOnDataPayload::~MatchOnDataPayload (  )  [virtual]

Definition at line 113 of file TransportQueueElement.cpp.

00114 {
00115 }


Member Function Documentation

ACE_INLINE bool OpenDDS::DCPS::TransportQueueElement::MatchOnDataPayload::matches ( const TransportQueueElement candidate  )  const [virtual]

Implements OpenDDS::DCPS::TransportQueueElement::MatchCriteria.

Definition at line 105 of file TransportQueueElement.inl.

References data_, and OpenDDS::DCPS::TransportQueueElement::msg_payload().

00107 {
00108   if (!candidate.msg_payload()) {
00109     return false;
00110   }
00111   return this->data_ == candidate.msg_payload()->rd_ptr();
00112 }

virtual bool OpenDDS::DCPS::TransportQueueElement::MatchOnDataPayload::unique (  )  const [inline, virtual]

Implements OpenDDS::DCPS::TransportQueueElement::MatchCriteria.

Definition at line 80 of file TransportQueueElement.h.

00080 { return true; }


Member Data Documentation

const char* OpenDDS::DCPS::TransportQueueElement::MatchOnDataPayload::data_ [private]

Definition at line 82 of file TransportQueueElement.h.

Referenced by matches().


The documentation for this class was generated from the following files:
Generated on Fri Feb 12 20:06:31 2016 for OpenDDS by  doxygen 1.4.7