bbtk::StaticInitTime Class Reference

#include <bbtkObject.h>

Collaboration diagram for bbtk::StaticInitTime:

Collaboration graph
[legend]

List of all members.

Public Member Functions

 StaticInitTime ()
 ~StaticInitTime ()

Static Public Attributes

static bool PrintObjectListInfo = false

Static Private Attributes

static bbtk::Object mObject


Detailed Description

Definition at line 200 of file bbtkObject.h.


Constructor & Destructor Documentation

bbtk::StaticInitTime::StaticInitTime (  ) 

Definition at line 261 of file bbtkObject.cxx.

00262   {
00263   }

bbtk::StaticInitTime::~StaticInitTime (  ) 

Definition at line 266 of file bbtkObject.cxx.

References bbtk::Object::GetObjectsCount(), PrintObjectListInfo, and bbtk::Object::ReleasePackages().

00267   {
00268     Object::ReleasePackages();
00269 
00270     if (PrintObjectListInfo) 
00271       {
00272         std::cout << std::endl
00273                   << "************************** main ended *******************"
00274                   << std::endl << std::endl;
00275         Object::PrintObjectListInfo("");
00276       }
00277     if (Object::GetObjectsCount()>0)
00278       {
00279         std::cout << std::endl;
00280         std::cout << "**************************** WARNING *************************"
00281                   <<std::endl; 
00282         std::cout << "**** "<< Object::GetObjectsCount()
00283                   <<" bbtk objects still alive after main ended"<<std::endl;
00284         if (!PrintObjectListInfo) 
00285           {
00286             
00287             std::cout << "**** "
00288                       <<"Rerun bbi with -D option or put 'debug -D' in bbs file"
00289                   <<std::endl;
00290             std::cout << "**** "
00291                       <<"to view the objects list "
00292                       <<std::endl;
00293           }
00294         std::cout << "**************************************************************"
00295                   <<std::endl
00296                   <<std::endl;
00297 
00298      }
00299   }

Here is the call graph for this function:


Member Data Documentation

Definition at line 209 of file bbtkObject.h.


The documentation for this class was generated from the following files:

Generated on Thu May 31 14:14:55 2012 for BBTK by  doxygen 1.5.7.1