3 //=============================================================================
5 * @file Intrusive_List_Node.h
7 * @author Carlos O'Ryan <coryan@uci.edu>
9 //=============================================================================
11 #ifndef ACE_INTRUSIVE_LIST_NODE_H
12 #define ACE_INTRUSIVE_LIST_NODE_H
13 #include /**/ "ace/pre.h"
15 #include /**/ "ace/config-lite.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
24 * @class ACE_Intrusive_List_Node
26 * @brief Implement the requirements for ACE_Intrusive_List
28 * The class should be used as follows:
30 * class My_Object : public ACE_Intrusive_List_Node<My_Object> {<BR>
34 * However, ACE is supported on platforms that would surely get
35 * confused using such templates, the class is provided as a helper
36 * for our lucky users that only need portability to modern C++
40 class ACE_Intrusive_List_Node
43 /** @name Accesors and modifiers to the next and previous pointers
56 * The constructor is protected, because only derived classes should
59 ACE_Intrusive_List_Node () = default;
62 /// Head and tail of the list
67 ACE_END_VERSIONED_NAMESPACE_DECL
69 #if defined (__ACE_INLINE__)
70 #include "ace/Intrusive_List_Node.inl"
71 #endif /* __ACE_INLINE__ */
73 #include "ace/Intrusive_List_Node.cpp"
75 #include /**/ "ace/post.h"
76 #endif /* ACE_INTRUSIVE_LIST_NODE_H */