#include <Intrusive_List_Node.h>
Collaboration diagram for ACE_Intrusive_List_Node< T >:
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_ |
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 43 of file Intrusive_List_Node.h.
|
Constructor. The constructor is protected, because only derived classes should be instantiated. Definition at line 19 of file Intrusive_List_Node.cpp.
|
|
Definition at line 26 of file Intrusive_List_Node.inl.
00027 { 00028 this->next_ = x; 00029 } |
|
Definition at line 20 of file Intrusive_List_Node.inl.
00021 { 00022 return this->next_; 00023 } |
|
Definition at line 14 of file Intrusive_List_Node.inl.
00015 { 00016 this->prev_ = x; 00017 } |
|
Definition at line 8 of file Intrusive_List_Node.inl.
00009 { 00010 return this->prev_; 00011 } |
|
Definition at line 67 of file Intrusive_List_Node.h. |
|
Head and tail of the list.
Definition at line 66 of file Intrusive_List_Node.h. |