/* * 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_ */