Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Intrusive_List_Node Class Template Reference

Implement the requirements for ACE_Intrusive_List. More...

#include <Intrusive_List_Node.h>

Collaboration diagram for ACE_Intrusive_List_Node:

Collaboration graph
[legend]
List of all members.

Public Methods

Accesors and modifiers to the next and previous pointers
T * prev (void) const
void prev (T *)
T * next (void) const
void next (T *)

Protected Methods

 ACE_Intrusive_List_Node (void)
 Constructor. More...


Private Attributes

T * prev_
 Head and tail of the list. More...

T * next_

Detailed Description

template<class T>
class ACE_Intrusive_List_Node< T >

Implement the requirements for ACE_Intrusive_List.

The class should be used as follows:

class My_Object : public ACE_Intrusive_List_Node<My_Object> {
....
};

However, ACE is supported on platforms that would surely get confused using such templates, the class is provided as a helper for our lucky users that only need portability to modern C++ compilers.

Definition at line 41 of file Intrusive_List_Node.h.


Constructor & Destructor Documentation

template<class T>
ACE_Intrusive_List_Node< T >::ACE_Intrusive_List_Node void    [protected]
 

Constructor.

The constructor is protected, because only derived classes should be instantiated.

Definition at line 19 of file Intrusive_List_Node.cpp.

00020   : prev_ (0)
00021   , next_ (0)
00022 {
00023 }


Member Function Documentation

template<class T>
ACE_INLINE void ACE_Intrusive_List_Node< T >::next T *   
 

Definition at line 22 of file Intrusive_List_Node.inl.

References next_.

00023 {
00024   this->next_ = x;
00025 }

template<class T>
ACE_INLINE T * ACE_Intrusive_List_Node< T >::next void    const
 

Definition at line 16 of file Intrusive_List_Node.inl.

References next_.

00017 {
00018   return this->next_;
00019 }

template<class T>
ACE_INLINE void ACE_Intrusive_List_Node< T >::prev T *   
 

Definition at line 10 of file Intrusive_List_Node.inl.

References prev_.

00011 {
00012   this->prev_ = x;
00013 }

template<class T>
ACE_INLINE T * ACE_Intrusive_List_Node< T >::prev void    const
 

Definition at line 4 of file Intrusive_List_Node.inl.

References prev_.

00005 {
00006   return this->prev_;
00007 }


Member Data Documentation

template<class T>
T* ACE_Intrusive_List_Node::next_ [private]
 

Definition at line 65 of file Intrusive_List_Node.h.

Referenced by next.

template<class T>
T* ACE_Intrusive_List_Node::prev_ [private]
 

Head and tail of the list.

Definition at line 64 of file Intrusive_List_Node.h.

Referenced by prev.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:49:07 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002