00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Policy_Strategy.h 00006 * 00007 * $Id: Policy_Strategy.h 76995 2007-02-11 12:51:42Z johnnyw $ 00008 * 00009 * @author Johnny Willemsen <jwillemsen@remedy.nl> 00010 */ 00011 //============================================================================= 00012 00013 #ifndef TAO_POLICY_STRATEGY_H 00014 #define TAO_POLICY_STRATEGY_H 00015 #include /**/ "ace/pre.h" 00016 00017 #include "tao/orbconf.h" 00018 00019 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00020 # pragma once 00021 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00022 00023 #include "ace/Service_Object.h" 00024 00025 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00026 00027 class TAO_Root_POA; 00028 00029 namespace TAO 00030 { 00031 namespace Portable_Server 00032 { 00033 class Policy_Strategy 00034 : public ACE_Service_Object 00035 { 00036 public: 00037 virtual void strategy_init(TAO_Root_POA *poa ) = 0; 00038 00039 virtual void strategy_cleanup(void) = 0; 00040 00041 virtual ~Policy_Strategy (void) {}; 00042 }; 00043 } 00044 } 00045 00046 TAO_END_VERSIONED_NAMESPACE_DECL 00047 00048 #include /**/ "ace/post.h" 00049 #endif /* TAO_POLICY_STRATEGY_H */