Framework_Component.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: Framework_Component.inl 80826 2008-03-04 14:51:23Z wotte $
00004 
00005 #include "ace/ACE.h"
00006 #include "ace/Guard_T.h"
00007 
00008 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00009 
00010 ACE_INLINE
00011 ACE_Framework_Component::ACE_Framework_Component (void *_this,
00012                                                   const ACE_TCHAR *dll_name,
00013                                                   const ACE_TCHAR *name)
00014   :  this_ (_this),
00015      dll_name_ (ACE::strnew (dll_name ? dll_name : ACE_TEXT (""))),
00016      name_ (ACE::strnew (name ? name : ACE_TEXT ("")))
00017 {
00018   ACE_TRACE ("ACE_Framework_Component::ctor");
00019 }
00020 
00021 /***************************************************************/
00022 
00023 ACE_INLINE int
00024 ACE_Framework_Repository::current_size (void) const
00025 {
00026   ACE_TRACE ("ACE_Framework_Repository::current_size");
00027   ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, (ACE_Thread_Mutex &) this->lock_, -1));
00028   return this->current_size_;
00029 }
00030 
00031 ACE_INLINE int
00032 ACE_Framework_Repository::total_size (void) const
00033 {
00034   ACE_TRACE ("ACE_Framework_Repository::total_size");
00035   ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, (ACE_Thread_Mutex &) this->lock_, -1));
00036   return this->total_size_;
00037 }
00038 
00039 ACE_END_VERSIONED_NAMESPACE_DECL

Generated on Tue Feb 2 17:18:39 2010 for ACE by  doxygen 1.4.7