00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file RT_Endpoint_Utils.h 00006 * 00007 * $Id: RT_Endpoint_Utils.h 82354 2008-07-22 11:34:18Z johnnyw $ 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_ptr policy (TAO_Cached_Policy_Type type, 00048 TAO::Profile_Transport_Resolver &r); 00049 00050 private: 00051 /// ctor. 00052 TAO_RT_Endpoint_Utils (); 00053 }; 00054 00055 TAO_END_VERSIONED_NAMESPACE_DECL 00056 00057 #include /**/ "ace/post.h" 00058 00059 #endif /* RT_ENDPOINT_UTILS_H */