OpenDDS  Snapshot(2023/04/28-20:55)
Public Member Functions | Private Attributes | List of all members
OpenDDS::DCPS::TransportQueueElement::MatchOnPubId Class Reference

#include <TransportQueueElement.h>

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

Public Member Functions

 MatchOnPubId (const GUID_t &id)
 
virtual ~MatchOnPubId ()
 
virtual bool matches (const TransportQueueElement &candidate) const
 
virtual bool unique () const
 

Private Attributes

GUID_t pub_id_
 

Additional Inherited Members

- Protected Member Functions inherited from OpenDDS::DCPS::TransportQueueElement::MatchCriteria
virtual ~MatchCriteria ()
 
 MatchCriteria ()
 

Detailed Description

Definition at line 70 of file TransportQueueElement.h.

Constructor & Destructor Documentation

◆ MatchOnPubId()

OpenDDS::DCPS::TransportQueueElement::MatchOnPubId::MatchOnPubId ( const GUID_t id)
inlineexplicit

◆ ~MatchOnPubId()

OpenDDS::DCPS::TransportQueueElement::MatchOnPubId::~MatchOnPubId ( )
virtual

Definition at line 112 of file TransportQueueElement.cpp.

113 {
114 }

Member Function Documentation

◆ matches()

ACE_INLINE bool OpenDDS::DCPS::TransportQueueElement::MatchOnPubId::matches ( const TransportQueueElement candidate) const
virtual

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

Definition at line 94 of file TransportQueueElement.inl.

References ACE_INLINE, OpenDDS::DCPS::GUID_UNKNOWN, and OpenDDS::DCPS::TransportQueueElement::publication_id().

96 {
97  return pub_id_ == candidate.publication_id()
98  && pub_id_ != GUID_UNKNOWN;
99 }
const GUID_t GUID_UNKNOWN
Nil value for GUID.
Definition: GuidUtils.h:59

◆ unique()

virtual bool OpenDDS::DCPS::TransportQueueElement::MatchOnPubId::unique ( ) const
inlinevirtual

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

Definition at line 75 of file TransportQueueElement.h.

75 { return false; }

Member Data Documentation

◆ pub_id_

GUID_t OpenDDS::DCPS::TransportQueueElement::MatchOnPubId::pub_id_
private

Definition at line 77 of file TransportQueueElement.h.


The documentation for this class was generated from the following files: