OpenDDS::DCPS::BasicQueueVisitor< T > Class Template Reference

#include <BasicQueueVisitor_T.h>

Inheritance diagram for OpenDDS::DCPS::BasicQueueVisitor< T >:

Inheritance graph
[legend]
List of all members.

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)

Detailed Description

template<typename T>
class OpenDDS::DCPS::BasicQueueVisitor< T >

Definition at line 17 of file BasicQueueVisitor_T.h.


Constructor & Destructor Documentation

template<typename T>
OpenDDS::DCPS::BasicQueueVisitor< T >::BasicQueueVisitor (  )  [inline]

Definition at line 20 of file BasicQueueVisitor_T.h.

00020                       {
00021   }

template<typename T>
virtual OpenDDS::DCPS::BasicQueueVisitor< T >::~BasicQueueVisitor (  )  [inline, virtual]

Definition at line 23 of file BasicQueueVisitor_T.h.

00023                                {
00024   }


Member Function Documentation

template<typename T>
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().

00030                                         {
00031     ACE_UNUSED_ARG(element);
00032     return 0;
00033   }

template<typename T>
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().

00057                                              {
00058     ACE_UNUSED_ARG(element);
00059     return 0;
00060   }

template<typename T>
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   }


The documentation for this class was generated from the following file:
Generated on Fri Feb 12 20:06:26 2016 for OpenDDS by  doxygen 1.4.7