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


Public Member Functions | |
| RemoveAllVisitor () | |
| virtual | ~RemoveAllVisitor () |
| virtual int | visit_element_remove (TransportQueueElement *element, int &remove) |
| int | status () const |
| int | removed_bytes () const |
Public Member Functions inherited from OpenDDS::DCPS::BasicQueueVisitor< TransportQueueElement > | |
| BasicQueueVisitor () | |
| virtual | ~BasicQueueVisitor () |
| virtual int | visit_element (TransportQueueElement *element) |
| virtual int | visit_element_ref (TransportQueueElement *&element) |
Private Attributes | |
| int | status_ |
| Holds the status of our visit. More... | |
| size_t | removed_bytes_ |
Definition at line 21 of file RemoveAllVisitor.h.
| ACE_INLINE OpenDDS::DCPS::RemoveAllVisitor::RemoveAllVisitor | ( | ) |
Definition at line 11 of file RemoveAllVisitor.inl.
References ACE_INLINE, and DBG_ENTRY_LVL.
|
virtual |
| ACE_INLINE int OpenDDS::DCPS::RemoveAllVisitor::removed_bytes | ( | ) | const |
Definition at line 26 of file RemoveAllVisitor.inl.
References DBG_ENTRY_LVL, and removed_bytes_.
| ACE_INLINE int OpenDDS::DCPS::RemoveAllVisitor::status | ( | void | ) | const |
Accessor for the status. Called after this visitor object has been passed to BasicQueue<T>::accept_remove_visitor().
Definition at line 19 of file RemoveAllVisitor.inl.
References ACE_INLINE, DBG_ENTRY_LVL, and status_.
|
virtual |
The BasicQueue<T>::accept_remove_visitor() method will call this visit_element_remove() method for each element in the queue.
Reimplemented from OpenDDS::DCPS::BasicQueueVisitor< TransportQueueElement >.
Definition at line 22 of file RemoveAllVisitor.cpp.
References OpenDDS::DCPS::TransportQueueElement::data_dropped(), DBG_ENTRY_LVL, OpenDDS::DCPS::TransportQueueElement::msg(), removed_bytes_, status_, and ACE_Message_Block::total_length().
|
private |
Definition at line 44 of file RemoveAllVisitor.h.
Referenced by removed_bytes(), and visit_element_remove().
|
private |
Holds the status of our visit.
Definition at line 42 of file RemoveAllVisitor.h.
Referenced by status(), and visit_element_remove().
1.8.13