Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Caching_Strategies_T.cpp

Go to the documentation of this file.
00001 //$Id: Caching_Strategies_T.cpp,v 1.1.1.2 2001/12/04 14:32:59 chad Exp $
00002 
00003 #ifndef CACHING_STRATEGIES_T_C
00004 #define CACHING_STRATEGIES_T_C
00005 
00006 #include "ace/Caching_Strategies_T.h"
00007 #include "ace/Log_Msg.h"
00008 
00009 #if !defined (__ACE_INLINE__)
00010 #include "ace/Caching_Strategies_T.i"
00011 #endif /* __ACE_INLINE__ */
00012 
00013 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00014 #define ACE_LACKS_PRAGMA_ONCE
00015 #endif /* ACE_LACKS_PRAGMA_ONCE */
00016 
00017 ACE_RCSID(ace, Caching_Strategies_T, "$Id: Caching_Strategies_T.cpp,v 1.1.1.2 2001/12/04 14:32:59 chad Exp $")
00018 
00019 template<class ATTRIBUTES, class CACHING_UTILITY>
00020 ACE_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::~ACE_Caching_Strategy (void)
00021 {
00022 }
00023 
00024 //////////////////////////////////////////////////////////////////////////////////
00025 
00026 template<class ATTRIBUTES, class CACHING_UTILITY>
00027 ACE_LRU_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::ACE_LRU_Caching_Strategy (void)
00028   : timer_ (0),
00029     purge_percent_ (10)
00030 {
00031 }
00032 
00033 ////////////////////////////////////////////////////////////////////////////////////////////////
00034 
00035 template<class ATTRIBUTES, class CACHING_UTILITY>
00036 ACE_LFU_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::ACE_LFU_Caching_Strategy (void)
00037   : purge_percent_ (10)
00038 {
00039 }
00040 
00041 ////////////////////////////////////////////////////////////////////////////////////////////////
00042 
00043 template<class ATTRIBUTES, class CACHING_UTILITY>
00044 ACE_FIFO_Caching_Strategy<ATTRIBUTES, CACHING_UTILITY>::ACE_FIFO_Caching_Strategy (void)
00045   : order_ (0),
00046     purge_percent_ (10)
00047 {
00048 }
00049 
00050 ////////////////////////////////////////////////////////////////////////////////////////////////
00051 
00052 ACE_ALLOC_HOOK_DEFINE(ACE_LRU_Caching_Strategy)
00053 ACE_ALLOC_HOOK_DEFINE(ACE_LFU_Caching_Strategy)
00054 ACE_ALLOC_HOOK_DEFINE(ACE_FIFO_Caching_Strategy)
00055 ACE_ALLOC_HOOK_DEFINE(ACE_Null_Caching_Strategy)
00056 
00057 #endif /* CACHING_STRATEGIES_T_C */

Generated on Mon Jun 16 11:19:16 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002