//===========================================================================// // File: wrhous.cc // // Project: MUNGA Brick: Gauge Renderer Manager // // Contents: // // This object manages creation and deletion of dynamically-created objects // // of which only on instantiation should exist. It is currently used // // only by the gauge renderer. // //---------------------------------------------------------------------------// // Date Who Modification // // -------- --- ---------------------------------------------------------- // // 08/01/95 CPB Initial coding. // //---------------------------------------------------------------------------// // Copyright (C) 1995, Virtual World Entertainment, Inc. All rights reserved // // PROPRIETARY and CONFIDENTIAL // //===========================================================================// #include #if !defined(L4WRHOUS_HPP) # include #endif // #define LOCAL_TEST #if defined(LOCAL_TEST) # define Test_Tell(n) DEBUG_STREAM << n #else # define Test_Tell(n) #endif //####################################################################### // Warehouse //####################################################################### L4Warehouse::L4Warehouse() : Warehouse() { Check_Pointer(this); Check_Fpu(); } L4Warehouse::~L4Warehouse() { Check(this); Check_Fpu(); } void L4Warehouse::Purge() { Check(this); gaugeImageBin.Purge(); Warehouse::Purge(); Check_Fpu(); } Logical L4Warehouse::TestInstance() const { return Warehouse::TestInstance(); }