#include <bbtkObject.h>
Public Member Functions | |
StaticInitTime () | |
~StaticInitTime () | |
Static Public Attributes | |
static bool | PrintObjectListInfo = false |
Static Private Attributes | |
static bbtk::Object | mObject |
Definition at line 200 of file bbtkObject.h.
bbtk::StaticInitTime::StaticInitTime | ( | ) |
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 }
bbtk::Object bbtk::StaticInitTime::mObject [static, private] |
Definition at line 209 of file bbtkObject.h.
bool bbtk::StaticInitTime::PrintObjectListInfo = false [static] |
Definition at line 207 of file bbtkObject.h.
Referenced by bbtk::Interpreter::commandDebug(), WxProcessCmdLine::Process(), and ~StaticInitTime().