2 % automatically generated by HelpGen $Revision$ from
3 % garbagec.h at 21/Jan/02 21:14:19
7 \section{\class{GarbageCollector
}}\label{garbagecollector
}
10 This class implements an extremely slow but simple garbage collection algorithm.
12 \wxheading{Derived from
}
16 \wxheading{Include files
}
20 \wxheading{Data structures
}
22 \latexignore{\rtfignore{\wxheading{Members
}}}
25 \membersection{GarbageCollector::GarbageCollector
}\label{garbagecollectorgarbagecollector
}
27 \func{}{GarbageCollector
}{\void}
32 \membersection{GarbageCollector::
\destruct{GarbageCollector
}}\label{garbagecollectordtor
}
34 \func{}{\destruct{GarbageCollector
}}{\void}
39 \membersection{GarbageCollector::AddDependency
}\label{garbagecollectoradddependency
}
41 \func{void
}{AddDependency
}{\param{void*
}{pObj
},
\param{void*
}{pDependsOnObj
}}
43 Prepare data for garbage collection.
46 \membersection{GarbageCollector::AddObject
}\label{garbagecollectoraddobject
}
48 \func{void
}{AddObject
}{\param{void*
}{pObj
},
\param{int
}{refCnt =
1}}
50 Prepare data for garbage collection.
53 \membersection{GarbageCollector::ArrangeCollection
}\label{garbagecollectorarrangecollection
}
55 \func{void
}{ArrangeCollection
}{\void}
57 Executes garbage collection algorithm.
60 \membersection{GarbageCollector::DestroyItemList
}\label{garbagecollectordestroyitemlist
}
62 \func{void
}{DestroyItemList
}{\param{wxList\&
}{lst
}}
64 Destroys a list of items.
67 \membersection{GarbageCollector::FindItemNode
}\label{garbagecollectorfinditemnode
}
69 \func{wxNode*
}{FindItemNode
}{\param{void*
}{pForObj
}}
71 Internal method for finding a node.
74 \membersection{GarbageCollector::FindReferenceFreeItemNode
}\label{garbagecollectorfindreferencefreeitemnode
}
76 \func{wxNode*
}{FindReferenceFreeItemNode
}{\void}
78 Internal method for findind and freeing a node.
81 \membersection{GarbageCollector::GetCycledObjects
}\label{garbagecollectorgetcycledobjects
}
83 \func{wxList\&
}{GetCycledObjects
}{\void}
88 \membersection{GarbageCollector::GetRegularObjects
}\label{garbagecollectorgetregularobjects
}
90 \func{wxList\&
}{GetRegularObjects
}{\void}
92 Accesses the results of the algorithm.
95 \membersection{GarbageCollector::RemoveReferencesToNode
}\label{garbagecollectorremovereferencestonode
}
97 \func{void
}{RemoveReferencesToNode
}{\param{wxNode*
}{pItemNode
}}
99 Remove references to this node.
102 \membersection{GarbageCollector::Reset
}\label{garbagecollectorreset
}
104 \func{void
}{Reset
}{\void}
106 Removes all data from the garbage collector.
109 \membersection{GarbageCollector::ResolveReferences
}\label{garbagecollectorresolvereferences
}
111 \func{void
}{ResolveReferences
}{\void}
113 Internal method for resolving references.