OpenDDS
Snapshot(2023/04/07-19:43)
|
#include <TransportRetainedElement.h>
Public Member Functions | |
TransportRetainedElement (ACE_Message_Block *message, const GUID_t &pubId) | |
Construct with message block chain and Id values. More... | |
TransportRetainedElement (const ACE_Message_Block *message, const GUID_t &pubId, MessageBlockAllocator *mb_allocator_=0, DataBlockAllocator *db_allocator_=0) | |
Construct with message block chain and Id values. More... | |
TransportRetainedElement (const TransportRetainedElement &source) | |
Copy constructor. More... | |
virtual | ~TransportRetainedElement () |
![]() | |
virtual | ~TransportQueueElement () |
bool | data_dropped (bool dropped_by_transport=false) |
bool | data_delivered () |
void | increment_loan () |
virtual bool | requires_exclusive_packet () const |
Does the sample require an exclusive transport packet? More... | |
virtual GUID_t | subscription_id () const |
Accessor for the subscription id, if sent the sample is sent to 1 sub. More... | |
virtual SequenceNumber | sequence () const |
virtual bool | is_control (GUID_t pub_id) const |
Is the element a "control" sample from the specified pub_id? More... | |
bool | released () const |
Is the listener get called ? More... | |
void | released (bool flag) |
virtual TqePair | fragment (size_t size) |
virtual bool | is_fragment () const |
Is this QueueElement the result of fragmentation? More... | |
virtual bool | is_last_fragment () const |
Is this QueueElement the last result of fragmentation? More... | |
virtual bool | is_request_ack () const |
TransportQueueElement methods | |
Message_Block_Ptr | msg_ |
} More... | |
GUID_t | publication_id_ |
Originating publication Id, if any. More... | |
MessageBlockAllocator * | mb_allocator_ |
Cached allocator for DataSampleHeader message block. More... | |
DataBlockAllocator * | db_allocator_ |
Cached allocator for DataSampleHeader data block. More... | |
bool | is_duplicate_ |
} More... | |
virtual GUID_t | publication_id () const |
} More... | |
virtual ACE_Message_Block * | duplicate_msg () const |
} More... | |
virtual const ACE_Message_Block * | msg () const |
} More... | |
virtual const ACE_Message_Block * | msg_payload () const |
} More... | |
virtual bool | owned_by_transport () |
} More... | |
virtual bool | is_retained_replaced () const |
} More... | |
virtual void | release_element (bool dropped_by_transport) |
} More... | |
Additional Inherited Members | |
![]() | |
static ACE_Message_Block * | clone_mb (const ACE_Message_Block *msg, MessageBlockAllocator *mb_allocator, DataBlockAllocator *db_allocator) |
![]() | |
TransportQueueElement (unsigned long initial_count) | |
bool | was_dropped () const |
Definition at line 23 of file TransportRetainedElement.h.
OPENDDS_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE OpenDDS::DCPS::TransportRetainedElement::TransportRetainedElement | ( | ACE_Message_Block * | message, |
const GUID_t & | pubId | ||
) |
Construct with message block chain and Id values.
Definition at line 13 of file TransportRetainedElement.inl.
References ACE_INLINE.
ACE_INLINE OpenDDS::DCPS::TransportRetainedElement::TransportRetainedElement | ( | const ACE_Message_Block * | message, |
const GUID_t & | pubId, | ||
MessageBlockAllocator * | mb_allocator_ = 0 , |
||
DataBlockAllocator * | db_allocator_ = 0 |
||
) |
Construct with message block chain and Id values.
Definition at line 26 of file TransportRetainedElement.inl.
References ACE_INLINE.
ACE_INLINE OpenDDS::DCPS::TransportRetainedElement::TransportRetainedElement | ( | const TransportRetainedElement & | source | ) |
Copy constructor.
Definition at line 43 of file TransportRetainedElement.inl.
References ACE_INLINE, and DBG_ENTRY_LVL.
|
virtual |
|
virtual |
}
Sample data, if any.
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 39 of file TransportRetainedElement.cpp.
References DBG_ENTRY_LVL, ACE_Message_Block::duplicate(), and msg_.
|
virtual |
}
Sample data, if any.
Reimplemented from OpenDDS::DCPS::TransportQueueElement.
Definition at line 65 of file TransportRetainedElement.inl.
References is_duplicate_, and OPENDDS_END_VERSIONED_NAMESPACE_DECL.
|
virtual |
}
Sample data, if any.
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 46 of file TransportRetainedElement.cpp.
References DBG_ENTRY_LVL, OpenDDS::DCPS::unique_ptr< T, Deleter >::get(), and msg_.
|
virtual |
}
Sample data, if any.
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 53 of file TransportRetainedElement.cpp.
References ACE_Message_Block::cont(), DBG_ENTRY_LVL, msg_, and OPENDDS_END_VERSIONED_NAMESPACE_DECL.
|
virtual |
}
Sample data, if any.
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 58 of file TransportRetainedElement.inl.
References ACE_INLINE, and is_duplicate_.
|
virtual |
}
Sample data, if any.
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 32 of file TransportRetainedElement.cpp.
References DBG_ENTRY_LVL, and publication_id_.
|
protectedvirtual |
}
Sample data, if any.
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 23 of file TransportRetainedElement.cpp.
References DBG_ENTRY_LVL.
|
private |
Cached allocator for DataSampleHeader data block.
Definition at line 73 of file TransportRetainedElement.h.
|
private |
}
Sample data, if any.
Definition at line 75 of file TransportRetainedElement.h.
Referenced by is_retained_replaced(), and owned_by_transport().
|
private |
Cached allocator for DataSampleHeader message block.
Definition at line 71 of file TransportRetainedElement.h.
|
private |
}
Sample data, if any.
Definition at line 65 of file TransportRetainedElement.h.
Referenced by duplicate_msg(), msg(), and msg_payload().
|
private |
Originating publication Id, if any.
Definition at line 68 of file TransportRetainedElement.h.
Referenced by publication_id().