Use =default for skeleton copy constructor
[ACE_TAO.git] / TAO / tao / Strategies / OC_Endpoint_Selector_Loader.h
blob1a7a560912e73c4e1b3cb338e821747844233e5b
1 //=============================================================================
2 /**
3 * @file OC_Endpoint_Selector_Loader.h
5 * Strategies for selecting profile/endpoint from an IOR for making an
6 * invocation.
8 * @author Phil Mesnier <mesnier_p@ociweb.com>
9 */
10 //=============================================================================
12 #ifndef TAO_OC_ENDPOINT_LOADER_H
13 #define TAO_OC_ENDPOINT_LOADER_H
14 #include /**/ "ace/pre.h"
16 #include "tao/Strategies/strategies_export.h"
17 #include "tao/Strategies/OC_Endpoint_Selector_Factory.h"
19 #if !defined (ACE_LACKS_PRAGMA_ONCE)
20 # pragma once
21 #endif /* ACE_LACKS_PRAGMA_ONCE */
23 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
25 // Forward references
26 class TAO_Optimized_Connection_Endpoint_Selector;
28 // ****************************************************************
30 /**
31 * @class TAO_OC_Endpoint_Selector_Loader
33 * @brief Static initializer used to ensure the Optimized Connector
34 * Endpoint Selector is available for use in static applications
36 * This class is not needed when using dynamic linking and the service
37 * configuratior. Statically linked applications need to include this
38 * header to ensure that all the necessary dependencies are met. In
39 * addition, the svc config directive is required for setting any
40 * initialization parameters for the endpoint selector.
42 class TAO_Strategies_Export TAO_OC_Endpoint_Selector_Loader
44 public:
45 static int init();
48 static int
49 TAO_Requires_OC_Endpoint_Selector_Loader =
50 TAO_OC_Endpoint_Selector_Loader::init ();
53 TAO_END_VERSIONED_NAMESPACE_DECL
55 #include /**/ "ace/post.h"
56 #endif /* TAO_OC_ENDPOINT_LOADER_H */