X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkObject.h;h=2d8eb5e91c022e022ac322dc1f8e0943238d3690;hb=4f58c18b5e205a288f540a52bae75901bd074352;hp=089afbb7cf3a8dbde49af644293144012194bfa4;hpb=a09174b82cb36ffd30bdbaed12c6ebd936a0e8f7;p=bbtk.git diff --git a/kernel/src/bbtkObject.h b/kernel/src/bbtkObject.h index 089afbb..2d8eb5e 100644 --- a/kernel/src/bbtkObject.h +++ b/kernel/src/bbtkObject.h @@ -3,8 +3,8 @@ Program: bbtk Module: $RCSfile: bbtkObject.h,v $ Language: C++ - Date: $Date: 2008/07/23 11:46:11 $ - Version: $Revision: 1.5 $ + Date: $Date: 2008/07/24 14:37:05 $ + Version: $Revision: 1.6 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See doc/license.txt or @@ -52,6 +52,9 @@ namespace bbtk static void InsertInObjectList(Pointer); static void RemoveFromObjectList(WeakPointer); + static void InsertInPackageList(Pointer); + static void ReleasePackages(); + static void PrintObjectListInfo(const std::string& name); // static void PrintObjectInfo(const std::string& name); static void PrintObjectInfo(const Pointer& o); @@ -120,6 +123,7 @@ namespace bbtk private: typedef std::set > ObjectListType; static ObjectListType mgObjectList; + static ObjectListType mgPackageList; WeakPointer mThisPointer; Pointer mThisPointerLocked; @@ -190,7 +194,7 @@ protected: \ static bool PrintObjectListInfo; private: - static bbtk::Object mObject; + static bbtk::Object mObject; };