00001 // Filename: conditionVarFullDebug.I 00002 // Created by: drose (28Aug06) 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: ConditionVarFullDebug::Copy Constructor 00018 // Access: Private 00019 // Description: Do not attempt to copy condition variables. 00020 //////////////////////////////////////////////////////////////////// 00021 INLINE ConditionVarFullDebug:: 00022 ConditionVarFullDebug(const ConditionVarFullDebug ©) : 00023 _mutex(copy._mutex), 00024 _impl(*_mutex._global_lock) 00025 { 00026 nassertv(false); 00027 } 00028 00029 //////////////////////////////////////////////////////////////////// 00030 // Function: ConditionVarFullDebug::Copy Assignment Operator 00031 // Access: Private 00032 // Description: Do not attempt to copy condition variables. 00033 //////////////////////////////////////////////////////////////////// 00034 INLINE void ConditionVarFullDebug:: 00035 operator = (const ConditionVarFullDebug ©) { 00036 nassertv(false); 00037 } 00038 00039 //////////////////////////////////////////////////////////////////// 00040 // Function: ConditionVarFullDebug::get_mutex 00041 // Access: Published 00042 // Description: Returns the mutex associated with this condition 00043 // variable. 00044 //////////////////////////////////////////////////////////////////// 00045 INLINE MutexDebug &ConditionVarFullDebug:: 00046 get_mutex() const { 00047 return _mutex; 00048 }