Merge pull request #2309 from mitza-oci/warnings
[ACE_TAO.git] / TAO / tao / RTCORBA / RT_Endpoint_Utils.h
blob0652fe41cd52a7b39cd292ee8287834f3adf0590
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file RT_Endpoint_Utils.h
7 * Commonly used utility methods used by RT_Endpoint_Selectors.
9 * @author Angelo Corsaro <corsaro@cs.wustl.edu>
10 * @author Frank Hunleth <fhunleth@cs.wustl.edu>
12 //=============================================================================
15 #ifndef RT_ENDPOINT_UTILS_H
16 #define RT_ENDPOINT_UTILS_H
18 #include /**/ "ace/pre.h"
20 #include "tao/RTCORBA/rtcorba_export.h"
22 #if !defined (ACE_LACKS_PRAGMA_ONCE)
23 # pragma once
24 #endif /* ACE_LACKS_PRAGMA_ONCE */
26 #include "tao/Policy_ForwardC.h"
28 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
30 namespace TAO
32 class Profile_Transport_Resolver;
35 /**
36 * @class RT_Endpoint_Utils
38 * @brief Commonly used utility methods used by the RT_Endpoint_Selectors.
40 class TAO_RTCORBA_Export TAO_RT_Endpoint_Utils
42 public:
43 static
44 CORBA::Policy_ptr policy (TAO_Cached_Policy_Type type,
45 TAO::Profile_Transport_Resolver &r);
47 private:
48 /// ctor.
49 TAO_RT_Endpoint_Utils ();
52 TAO_END_VERSIONED_NAMESPACE_DECL
54 #include /**/ "ace/post.h"
56 #endif /* RT_ENDPOINT_UTILS_H */