Go to the documentation of this file.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-lite.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 template <class T>
00042 class ACE_Intrusive_List_Node
00043 {
00044 public:
00045
00046
00047
00048
00049 T *prev (void) const;
00050 void prev (T *);
00051 T *next (void) const;
00052 void next (T *);
00053
00054
00055 protected:
00056
00057
00058
00059
00060
00061 ACE_Intrusive_List_Node (void);
00062
00063 private:
00064
00065 T *prev_;
00066 T *next_;
00067 };
00068
00069 ACE_END_VERSIONED_NAMESPACE_DECL
00070
00071 #if defined (__ACE_INLINE__)
00072 #include "ace/Intrusive_List_Node.inl"
00073 #endif
00074
00075 #if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
00076 #include "ace/Intrusive_List_Node.cpp"
00077 #endif
00078
00079 #if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
00080 #pragma implementation ("Intrusive_List_Node.cpp")
00081 #endif
00082
00083 #include "ace/post.h"
00084 #endif