From bcb19dbd53973ff7efd9b2838de121d1e23430f4 Mon Sep 17 00:00:00 2001 From: chatty Date: Tue, 28 Nov 2000 14:52:15 +0000 Subject: Lots of files were added around '96 --- dnn/Disposable.h | 45 +++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 45 insertions(+) create mode 100755 dnn/Disposable.h (limited to 'dnn/Disposable.h') 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 Initializer; + +protected: +static CcuListOf Garbage; + +private: +static CcuInitializerFor Dependance; + +protected: + DnnDisposable (); + +public: +virtual ~DnnDisposable (); + void Trash (); + +static void DeleteGarbage (); +}; + +#endif /* DnnDisposable_H_ */ -- cgit v1.1