3 #include "ace/Guard_T.h"
5 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
8 ACE_Framework_Component::ACE_Framework_Component (void *_this,
9 const ACE_TCHAR *dll_name,
10 const ACE_TCHAR *name)
12 dll_name_ (ACE::strnew (dll_name ? dll_name : ACE_TEXT (""))),
13 name_ (ACE::strnew (name ? name : ACE_TEXT ("")))
15 ACE_TRACE ("ACE_Framework_Component::ctor");
18 /***************************************************************/
21 ACE_Framework_Repository::current_size () const
23 ACE_TRACE ("ACE_Framework_Repository::current_size");
24 ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, const_cast <ACE_SYNCH_MUTEX&>(this->lock_), -1);
25 return this->current_size_;
29 ACE_Framework_Repository::total_size () const
31 ACE_TRACE ("ACE_Framework_Repository::total_size");
32 ACE_GUARD_RETURN (ACE_SYNCH_MUTEX, ace_mon, const_cast <ACE_SYNCH_MUTEX&>(this->lock_), -1);
33 return this->total_size_;
36 ACE_END_VERSIONED_NAMESPACE_DECL