00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file RT_Endpoint_Utils.h 00006 * 00007 * RT_Endpoint_Utils.h,v 1.11 2006/03/10 07:19:16 jtc Exp 00008 * 00009 * Commonly used utility methods used by RT_Endpoint_Selectors. 00010 * 00011 * @author Angelo Corsaro <corsaro@cs.wustl.edu> 00012 * @author Frank Hunleth <fhunleth@cs.wustl.edu> 00013 */ 00014 //============================================================================= 00015 00016 00017 #ifndef RT_ENDPOINT_UTILS_H 00018 #define RT_ENDPOINT_UTILS_H 00019 00020 #include /**/ "ace/pre.h" 00021 00022 #include "tao/RTCORBA/rtcorba_export.h" 00023 00024 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00025 # pragma once 00026 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00027 00028 #include "tao/Policy_ForwardC.h" 00029 00030 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00031 00032 namespace TAO 00033 { 00034 class Profile_Transport_Resolver; 00035 } 00036 00037 /** 00038 * @class RT_Endpoint_Utils 00039 * 00040 * @brief Commonly used utility methods used by the RT_Endpoint_Selectors. 00041 * 00042 */ 00043 class TAO_RTCORBA_Export TAO_RT_Endpoint_Utils 00044 { 00045 public: 00046 static 00047 CORBA::Policy *policy (TAO_Cached_Policy_Type type, 00048 TAO::Profile_Transport_Resolver &r 00049 ACE_ENV_ARG_DECL); 00050 00051 private: 00052 /// ctor. 00053 TAO_RT_Endpoint_Utils (); 00054 }; 00055 00056 TAO_END_VERSIONED_NAMESPACE_DECL 00057 00058 #include /**/ "ace/post.h" 00059 00060 #endif /* RT_ENDPOINT_UTILS_H */