Panda3D

partBundleHandle.I

00001 // Filename: partBundleHandle.I
00002 // Created by:  drose (01Oct07)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) Carnegie Mellon University.  All rights reserved.
00008 //
00009 // All use of this software is subject to the terms of the revised BSD
00010 // license.  You should have received a copy of this license along
00011 // with this source code in a file named "LICENSE."
00012 //
00013 ////////////////////////////////////////////////////////////////////
00014 
00015 
00016 ////////////////////////////////////////////////////////////////////
00017 //     Function: PartBundleHandle::Constructor
00018 //       Access: Published
00019 //  Description: 
00020 ////////////////////////////////////////////////////////////////////
00021 INLINE PartBundleHandle::
00022 PartBundleHandle(PartBundle *bundle) :
00023   _bundle(bundle)
00024 {
00025 }
00026 
00027 ////////////////////////////////////////////////////////////////////
00028 //     Function: PartBundleHandle::Destructor
00029 //       Access: Published
00030 //  Description: 
00031 ////////////////////////////////////////////////////////////////////
00032 INLINE PartBundleHandle::
00033 ~PartBundleHandle() {
00034 }
00035 
00036 ////////////////////////////////////////////////////////////////////
00037 //     Function: PartBundleHandle::get_bundle
00038 //       Access: Published
00039 //  Description: Returns the actual PartBundle embedded within the
00040 //               handle.
00041 ////////////////////////////////////////////////////////////////////
00042 INLINE PartBundle *PartBundleHandle::
00043 get_bundle() {
00044   return _bundle;
00045 }
00046 
00047 ////////////////////////////////////////////////////////////////////
00048 //     Function: PartBundleHandle::set_bundle
00049 //       Access: Published
00050 //  Description: Changes the actual PartBundle embedded within the
00051 //               handle.
00052 ////////////////////////////////////////////////////////////////////
00053 INLINE void PartBundleHandle::
00054 set_bundle(PartBundle *bundle) {
00055   _bundle = bundle;
00056 }
 All Classes Functions Variables Enumerations