blob: 2d3662642bd303385fb20fd0b55e72995be0c279 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
/* -*- C++ -*- */
// $Id$
// Framework_Component.inl
#include "ace/ACE.h"
#include "ace/Guard_T.h"
ACE_INLINE
ACE_Framework_Component::ACE_Framework_Component (void *_this,
const ACE_TCHAR *dll_name,
const ACE_TCHAR *name)
: this_ (_this),
dll_name_ (ACE::strnew (dll_name ? dll_name : ACE_LIB_TEXT (""))),
name_ (ACE::strnew (name ? name : ACE_LIB_TEXT ("")))
{
ACE_TRACE ("ACE_Framework_Component::ctor");
}
/***************************************************************/
ACE_INLINE int
ACE_Framework_Repository::current_size (void) const
{
ACE_TRACE ("ACE_Framework_Repository::current_size");
ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, (ACE_Thread_Mutex &) this->lock_, -1));
return this->current_size_;
}
ACE_INLINE int
ACE_Framework_Repository::total_size (void) const
{
ACE_TRACE ("ACE_Framework_Repository::total_size");
ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, (ACE_Thread_Mutex &) this->lock_, -1));
return this->total_size_;
}
|