ACE 8.0.1
Loading...
Searching...
No Matches
List of all members
ACE_Intrusive_List_Node< T > Class Template Reference

Implement the requirements for ACE_Intrusive_List. More...

#include <Intrusive_List_Node.h>

Accesors and modifiers to the next and previous pointers

T * prev_ {}
 Head and tail of the list.
 
T * next_ {}
 Head and tail of the list.
 
T * prev () const
 Head and tail of the list.
 
void prev (T *)
 Head and tail of the list.
 
T * next () const
 Head and tail of the list.
 
void next (T *)
 Head and tail of the list.
 
 ACE_Intrusive_List_Node ()=default
 Constructor.
 

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

◆ ACE_Intrusive_List_Node()

template<class T >
ACE_Intrusive_List_Node< T >::ACE_Intrusive_List_Node ( )
protecteddefault

Constructor.

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

Member Function Documentation

◆ next() [1/2]

template<class T >
T * ACE_Intrusive_List_Node< T >::next ( ) const
inline

Head and tail of the list.

◆ next() [2/2]

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

Head and tail of the list.

◆ prev() [1/2]

template<class T >
T * ACE_Intrusive_List_Node< T >::prev ( ) const
inline

Head and tail of the list.

◆ prev() [2/2]

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

Head and tail of the list.

Member Data Documentation

◆ next_

template<class T >
T* ACE_Intrusive_List_Node< T >::next_ {}
private

Head and tail of the list.

◆ prev_

template<class T >
T* ACE_Intrusive_List_Node< T >::prev_ {}
private

Head and tail of the list.


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