#include <BasicQueueVisitor_T.h>
Inheritance diagram for OpenDDS::DCPS::BasicQueueVisitor< T >:
Public Member Functions | |
BasicQueueVisitor () | |
virtual | ~BasicQueueVisitor () |
virtual int | visit_element (T *element) |
virtual int | visit_element_remove (T *element, int &remove) |
virtual int | visit_element_ref (T *&element) |
Definition at line 17 of file BasicQueueVisitor_T.h.
OpenDDS::DCPS::BasicQueueVisitor< T >::BasicQueueVisitor | ( | ) | [inline] |
virtual OpenDDS::DCPS::BasicQueueVisitor< T >::~BasicQueueVisitor | ( | ) | [inline, virtual] |
virtual int OpenDDS::DCPS::BasicQueueVisitor< T >::visit_element | ( | T * | element | ) | [inline, virtual] |
This is the visit_element() method that will be called when the visitation method used is BasicQueue<T>::accept_visitor().
Return 0 if visiting should stop, return 1 to continue visiting.
Definition at line 30 of file BasicQueueVisitor_T.h.
Referenced by OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::accept_visitor().
virtual int OpenDDS::DCPS::BasicQueueVisitor< T >::visit_element_ref | ( | T *& | element | ) | [inline, virtual] |
This is the visit_element_ref() method that will be called when the visitation method used is BasicQueue<T>::accept_replace_visitor().
Return 0 if visiting should stop, return 1 to continue visiting.
Definition at line 57 of file BasicQueueVisitor_T.h.
Referenced by OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::accept_replace_visitor().
virtual int OpenDDS::DCPS::BasicQueueVisitor< T >::visit_element_remove | ( | T * | element, | |
int & | remove | |||
) | [inline, virtual] |
This is the visit_element_remove() method that will be called when the visitation method used is BasicQueue<T>::accept_remove_visitor().
Return 0 if visiting should stop, return 1 to continue visiting. The remove is an "inout" argument that is always passed-in with a false (0) value, indicating that the link should not be removed from the queue as a result of this visit. If the visit_remove() implementation decides that the link should be removed, then it must set the remove argument to true (1). By default, this method is implemented to just return 0 to stop the "remove visitation" immediately. It doesn't modify the value of the remove argument.
Definition at line 47 of file BasicQueueVisitor_T.h.
Referenced by OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::accept_remove_visitor().
00047 { 00048 ACE_UNUSED_ARG(element); 00049 ACE_UNUSED_ARG(remove); 00050 return 0; 00051 }