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

#include <BasicQueueLink_T.h>

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

Inheritance graph
[legend]
Collaboration diagram for OpenDDS::DCPS::BasicQueueLink< T >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 BasicQueueLink ()
 BasicQueueLink (T *value)
T * elem ()
 Accessor for elem_ data memeber.
void elem (T *value)
 Mutator for elem_ data memeber.
T *& elem_ref ()
 Accessor for reference to the elem_ data memeber.
BasicQueueLink< T > * next ()
 Accessor for next_ data member.
void next (BasicQueueLink< T > *value)
 Mutator for next_ data member.
void reset ()

Private Attributes

T * elem_
BasicQueueLink< T > * next_
 The next link, or NULL (0) if this is the last link.

Detailed Description

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

Definition at line 17 of file BasicQueueLink_T.h.


Constructor & Destructor Documentation

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

Definition at line 20 of file BasicQueueLink_T.h.

00021   : elem_(0),
00022       next_(0) {
00023   }

template<typename T>
OpenDDS::DCPS::BasicQueueLink< T >::BasicQueueLink ( T *  value  )  [inline]

Definition at line 25 of file BasicQueueLink_T.h.

00026   : elem_(value),
00027       next_(0) {
00028   }


Member Function Documentation

template<typename T>
void OpenDDS::DCPS::BasicQueueLink< T >::elem ( T *  value  )  [inline]

Mutator for elem_ data memeber.

Definition at line 36 of file BasicQueueLink_T.h.

References OpenDDS::DCPS::BasicQueueLink< T >::elem_.

00036                       {
00037     this->elem_ = value;
00038   }

template<typename T>
T* OpenDDS::DCPS::BasicQueueLink< T >::elem (  )  [inline]

Accessor for elem_ data memeber.

Definition at line 31 of file BasicQueueLink_T.h.

References OpenDDS::DCPS::BasicQueueLink< T >::elem_.

Referenced by OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::accept_remove_visitor(), OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::accept_visitor(), OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::get(), OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::peek(), and OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::replace_head().

00031             {
00032     return this->elem_;
00033   }

template<typename T>
T*& OpenDDS::DCPS::BasicQueueLink< T >::elem_ref (  )  [inline]

Accessor for reference to the elem_ data memeber.

Definition at line 41 of file BasicQueueLink_T.h.

References OpenDDS::DCPS::BasicQueueLink< T >::elem_.

Referenced by OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::accept_replace_visitor().

00041                  {
00042     return this->elem_;
00043   }

template<typename T>
void OpenDDS::DCPS::BasicQueueLink< T >::next ( BasicQueueLink< T > *  value  )  [inline]

Mutator for next_ data member.

Definition at line 51 of file BasicQueueLink_T.h.

References OpenDDS::DCPS::BasicQueueLink< T >::next_.

00051                                       {
00052     this->next_ = value;
00053   }

template<typename T>
BasicQueueLink<T>* OpenDDS::DCPS::BasicQueueLink< T >::next (  )  [inline]

Accessor for next_ data member.

Definition at line 46 of file BasicQueueLink_T.h.

References OpenDDS::DCPS::BasicQueueLink< T >::next_.

Referenced by OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::accept_remove_visitor(), OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::accept_replace_visitor(), OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::accept_visitor(), OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::get(), OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::put(), and OpenDDS::DCPS::BasicQueue< OpenDDS::DCPS::TransportQueueElement >::remove_next().

00046                             {
00047     return this->next_;
00048   }

template<typename T>
void OpenDDS::DCPS::BasicQueueLink< T >::reset (  )  [inline]

Changes state of this object to match the state of the object following (default) construction.

Definition at line 57 of file BasicQueueLink_T.h.

References OpenDDS::DCPS::BasicQueueLink< T >::elem_, and OpenDDS::DCPS::BasicQueueLink< T >::next_.

Referenced by OpenDDS::DCPS::BasicQueueLinkPool< T >::release().

00057                {
00058     this->elem_ = 0;
00059     this->next_ = 0;
00060   }


Member Data Documentation

template<typename T>
T* OpenDDS::DCPS::BasicQueueLink< T >::elem_ [private]

The "payload" of the link -- the actual pointer that is being "wrapped" inside this link.

Definition at line 66 of file BasicQueueLink_T.h.

Referenced by OpenDDS::DCPS::BasicQueueLink< T >::elem(), OpenDDS::DCPS::BasicQueueLink< T >::elem_ref(), and OpenDDS::DCPS::BasicQueueLink< T >::reset().

template<typename T>
BasicQueueLink<T>* OpenDDS::DCPS::BasicQueueLink< T >::next_ [private]

The next link, or NULL (0) if this is the last link.

Definition at line 69 of file BasicQueueLink_T.h.

Referenced by OpenDDS::DCPS::BasicQueueLink< T >::next(), and OpenDDS::DCPS::BasicQueueLink< T >::reset().


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