00001 /* -*- C++ -*- */ 00002 // $Id: Service_Repository.i,v 1.1.1.2 2001/12/04 14:33:09 chad Exp $ 00003 00004 // Service_Repository.i 00005 00006 // Returns a count of the number of currently valid entries (counting 00007 // both resumed and suspended entries). 00008 00009 ACE_INLINE int 00010 ACE_Service_Repository::current_size (void) const 00011 { 00012 ACE_TRACE ("ACE_Service_Repository::current_size"); 00013 ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, (ACE_Thread_Mutex &) this->lock_, -1)); 00014 return this->current_size_; 00015 } 00016 00017 // Returns a count of the total number of possible entries in the 00018 // table. 00019 00020 ACE_INLINE int 00021 ACE_Service_Repository::total_size (void) const 00022 { 00023 ACE_TRACE ("ACE_Service_Repository::total_size"); 00024 ACE_MT (ACE_GUARD_RETURN (ACE_Thread_Mutex, ace_mon, (ACE_Thread_Mutex &) this->lock_, -1)); 00025 return this->total_size_; 00026 } 00027 00028 ACE_INLINE 00029 ACE_Service_Repository_Iterator::~ACE_Service_Repository_Iterator (void) 00030 { 00031 }
1.2.14 written by Dimitri van Heesch,
© 1997-2002