ACE_Intrusive_List_Node< T > Class Template Reference

Implement the requirements for ACE_Intrusive_List. More...

#include <Intrusive_List_Node.h>

Collaboration diagram for ACE_Intrusive_List_Node< T >:

Collaboration graph
[legend]

List of all members.

Public Member Functions

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

Protected Member Functions

 ACE_Intrusive_List_Node (void)
 Constructor.

Private Attributes

T * prev_
 Head and tail of the list.
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.


Constructor & Destructor Documentation

template<class T>
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Intrusive_List_Node< T >::ACE_Intrusive_List_Node ( void   )  [inline, protected]

Constructor.

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


Member Function Documentation

template<class T>
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE T * ACE_Intrusive_List_Node< T >::prev ( void   )  const [inline]

template<class T>
ACE_INLINE void ACE_Intrusive_List_Node< T >::prev ( T *  x  )  [inline]

template<class T>
ACE_INLINE T * ACE_Intrusive_List_Node< T >::next ( void   )  const [inline]

template<class T>
ACE_INLINE void ACE_Intrusive_List_Node< T >::next ( T *  x  )  [inline]


Member Data Documentation

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

Head and tail of the list.

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


The documentation for this class was generated from the following files:

Generated on Wed Apr 23 02:39:33 2008 for ACE by  doxygen 1.5.5