|
OpenDDS
Snapshot(2023/04/28-20:55)
|
#include <TransportControlElement.h>


Public Member Functions | |
| TransportControlElement (Message_Block_Ptr msg_block, const GUID_t &publication_id=GUID_UNKNOWN) | |
| virtual | ~TransportControlElement () |
| virtual bool | owned_by_transport () |
| Is the sample created by the transport? More... | |
Public Member Functions inherited from OpenDDS::DCPS::TransportQueueElement | |
| virtual | ~TransportQueueElement () |
| bool | data_dropped (bool dropped_by_transport=false) |
| bool | data_delivered () |
| void | increment_loan () |
| 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 |
| virtual bool | is_retained_replaced () const |
Protected Member Functions | |
| virtual bool | requires_exclusive_packet () const |
| Does the sample require an exclusive transport packet? More... | |
| virtual GUID_t | publication_id () const |
| Accessor for the publication id that sent the sample. More... | |
| virtual ACE_Message_Block * | duplicate_msg () const |
| A reference-incremented duplicate of the marshalled sample (sample header + sample data) More... | |
| virtual const ACE_Message_Block * | msg () const |
| The marshalled sample (sample header + sample data) More... | |
| virtual const ACE_Message_Block * | msg_payload () const |
| The marshalled payload only (sample data) More... | |
| virtual void | release_element (bool dropped_by_transport) |
| Invoked when the counter reaches 0. More... | |
| virtual void | data_delivered () |
Protected Member Functions inherited from OpenDDS::DCPS::TransportQueueElement | |
| TransportQueueElement (unsigned long initial_count) | |
| bool | was_dropped () const |
Private Member Functions | |
| TransportControlElement (const TransportControlElement &) | |
Private Attributes | |
| Message_Block_Ptr | msg_ |
| The control message. More... | |
| GUID_t | publication_id_ |
Additional Inherited Members | |
Static Public Member Functions inherited from OpenDDS::DCPS::TransportQueueElement | |
| static ACE_Message_Block * | clone_mb (const ACE_Message_Block *msg, MessageBlockAllocator *mb_allocator, DataBlockAllocator *db_allocator) |
Definition at line 26 of file TransportControlElement.h.
|
explicit |
msg_block - chain of ACE_Message_Blocks containing the control sample held by this queue element, if any.
Definition at line 16 of file TransportControlElement.cpp.
References DBG_ENTRY_LVL, and release().
|
virtual |
|
private |
|
protectedvirtual |
Definition at line 20 of file TransportControlElement.inl.
References ACE_INLINE, and DBG_ENTRY_LVL.
|
protectedvirtual |
A reference-incremented duplicate of the marshalled sample (sample header + sample data)
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 34 of file TransportControlElement.inl.
References ACE_INLINE, ACE_Message_Block::duplicate(), and msg_.
|
protectedvirtual |
The marshalled sample (sample header + sample data)
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 41 of file TransportControlElement.inl.
References ACE_INLINE, OpenDDS::DCPS::unique_ptr< T, Deleter >::get(), and msg_.
|
protectedvirtual |
The marshalled payload only (sample data)
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 48 of file TransportControlElement.inl.
References ACE_INLINE, ACE_Message_Block::cont(), and msg_.
|
virtual |
Is the sample created by the transport?
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 55 of file TransportControlElement.inl.
|
protectedvirtual |
Accessor for the publication id that sent the sample.
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 27 of file TransportControlElement.inl.
References ACE_INLINE, and publication_id_.
|
protectedvirtual |
Invoked when the counter reaches 0.
Implements OpenDDS::DCPS::TransportQueueElement.
Definition at line 31 of file TransportControlElement.cpp.
|
protectedvirtual |
Does the sample require an exclusive transport packet?
Reimplemented from OpenDDS::DCPS::TransportQueueElement.
Definition at line 12 of file TransportControlElement.inl.
References ACE_INLINE, and DBG_ENTRY_LVL.
|
private |
The control message.
Definition at line 60 of file TransportControlElement.h.
Referenced by duplicate_msg(), msg(), and msg_payload().
|
private |
Definition at line 61 of file TransportControlElement.h.
Referenced by publication_id().
1.8.13