]> git.saurik.com Git - wxWidgets.git/blame - interface/tracker.h
rename fobr95.{cpp,h} files to foobar.{cpp,h}
[wxWidgets.git] / interface / tracker.h
CommitLineData
23324ae1
FM
1/////////////////////////////////////////////////////////////////////////////
2// Name: tracker.h
e54c96f1 3// Purpose: interface of wxTrackable
23324ae1
FM
4// Author: wxWidgets team
5// RCS-ID: $Id$
6// Licence: wxWindows license
7/////////////////////////////////////////////////////////////////////////////
8
9/**
10 @class wxTrackable
11 @wxheader{tracker.h}
7c913512 12
23324ae1
FM
13 Add-on base class for a trackable object. This class maintains
14 an internal linked list of classes of type wxTrackerNode and
15 calls OnObjectDestroy() on them if this object is destroyed.
e54c96f1 16 The most common usage is by using the wxWeakRefT()
23324ae1
FM
17 class template which automates this. This class has no public
18 API. Its only use is by deriving another class from it to
19 make it trackable.
7c913512 20
23324ae1
FM
21 @code
22 class MyClass: public Foo, public wxTrackable
23 {
24 // whatever
25 }
7c913512 26
23324ae1
FM
27 typedef wxWeakRefMyClass MyClassRef;
28 @endcode
7c913512 29
23324ae1
FM
30 @library{wxbase}
31 @category{FIXME}
32*/
7c913512 33class wxTrackable
23324ae1
FM
34{
35public:
7c913512 36
23324ae1 37};
e54c96f1 38