00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013 #ifndef ACE_INTRUSIVE_LIST_NODE_H
00014 #define ACE_INTRUSIVE_LIST_NODE_H
00015 #include "ace/pre.h"
00016
00017 #include "ace/config-all.h"
00018
00019 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00020 # pragma once
00021 #endif
00022
00023 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00024
00025
00026
00027
00028
00029
00030
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041
00042 template <class T>
00043 class ACE_Intrusive_List_Node
00044 {
00045 public:
00046
00047
00048
00049
00050 T *prev (void) const;
00051 void prev (T *);
00052 T *next (void) const;
00053 void next (T *);
00054
00055
00056 protected:
00057
00058
00059
00060
00061
00062 ACE_Intrusive_List_Node (void);
00063
00064 private:
00065
00066 T *prev_;
00067 T *next_;
00068 };
00069
00070 ACE_END_VERSIONED_NAMESPACE_DECL
00071
00072 #if defined (__ACE_INLINE__)
00073 #include "ace/Intrusive_List_Node.inl"
00074 #endif
00075
00076 #if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
00077 #include "ace/Intrusive_List_Node.cpp"
00078 #endif
00079
00080 #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
00081 #pragma implementation ("Intrusive_List_Node.cpp")
00082 #endif
00083
00084 #include "ace/post.h"
00085 #endif