Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/express/typedReferenceCount.I

Go to the documentation of this file.
00001 // Filename: typedReferenceCount.I
00002 // Created by:  drose (25May00)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 
00020 ////////////////////////////////////////////////////////////////////
00021 //     Function: TypedReferenceCount::Constructor
00022 //       Access: Public
00023 //  Description:
00024 ////////////////////////////////////////////////////////////////////
00025 INLINE TypedReferenceCount::
00026 TypedReferenceCount() {
00027 #ifdef DO_MEMORY_USAGE
00028   MemoryUsage::update_type(this, this);
00029 #endif
00030 }
00031 
00032 ////////////////////////////////////////////////////////////////////
00033 //     Function: TypedReferenceCount::Copy Constructor
00034 //       Access: Public
00035 //  Description:
00036 ////////////////////////////////////////////////////////////////////
00037 INLINE TypedReferenceCount::
00038 TypedReferenceCount(const TypedReferenceCount &copy) :
00039   TypedObject(copy),
00040   ReferenceCount(copy)
00041 {
00042 #ifdef DO_MEMORY_USAGE
00043   MemoryUsage::update_type(this, this);
00044 #endif
00045 }
00046 
00047 ////////////////////////////////////////////////////////////////////
00048 //     Function: TypedReferenceCount::Copy Assignment Operator
00049 //       Access: Public
00050 //  Description:
00051 ////////////////////////////////////////////////////////////////////
00052 INLINE void TypedReferenceCount::
00053 operator = (const TypedReferenceCount &copy) {
00054   TypedObject::operator = (copy);
00055   ReferenceCount::operator = (copy);
00056 }

Generated on Fri May 2 00:38:43 2003 for Panda by doxygen1.3