diff options
author | chatty | 2000-11-28 14:52:15 +0000 |
---|---|---|
committer | chatty | 2000-11-28 14:52:15 +0000 |
commit | bcb19dbd53973ff7efd9b2838de121d1e23430f4 (patch) | |
tree | 4aa6404ca732d1a32e11b0be1762dcb7ef9fbdb6 /dnn/Disposable.h | |
parent | 325530e630c68c7c10a2f4339f5b43434fcd0329 (diff) | |
download | ivy-league-bcb19dbd53973ff7efd9b2838de121d1e23430f4.zip ivy-league-bcb19dbd53973ff7efd9b2838de121d1e23430f4.tar.gz ivy-league-bcb19dbd53973ff7efd9b2838de121d1e23430f4.tar.bz2 ivy-league-bcb19dbd53973ff7efd9b2838de121d1e23430f4.tar.xz |
Lots of files were added around '96
Diffstat (limited to 'dnn/Disposable.h')
-rwxr-xr-x | dnn/Disposable.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/dnn/Disposable.h b/dnn/Disposable.h new file mode 100755 index 0000000..e6f10f7 --- /dev/null +++ b/dnn/Disposable.h @@ -0,0 +1,45 @@ +/* + * DNN - Data News Network + * + * by Stephane Chatty and Stephane Sire + * + * Copyright 1993-1996 + * Centre d'Etudes de la Navigation Aerienne (CENA) + * + * Disposable objects. + * + * $Id$ + * $CurLog$ + */ + +#ifndef DnnDisposable_H_ +#define DnnDisposable_H_ + +#include "ccu/List.h" +#include "ccu/Initializer.h" +#include "Loop.h" + +class DnnDisposable { + +public: +static bool ClassInitialized; +static void ClassInit (); +static CcuInitializerFor <DnnDisposable> Initializer; + +protected: +static CcuListOf <DnnDisposable> Garbage; + +private: +static CcuInitializerFor <DnnBaseMultiplexer> Dependance; + +protected: + DnnDisposable (); + +public: +virtual ~DnnDisposable (); + void Trash (); + +static void DeleteGarbage (); +}; + +#endif /* DnnDisposable_H_ */ |