blob: 865a4c75c0d51f52d40f1c6e6c8dcaed9bb34f4a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
|
// This may look like C, but it's really -*- C++ -*-
//=============================================================================
/**
* @file OC_Endpoint_Selector_Loader.h
*
* Strategies for selecting profile/endpoint from an IOR for making an
* invocation.
*
* @author Phil Mesnier <mesnier_p@ociweb.com>
*/
//=============================================================================
#ifndef TAO_OC_ENDPOINT_LOADER_H
#define TAO_OC_ENDPOINT_LOADER_H
#include /**/ "ace/pre.h"
#include "tao/Strategies/strategies_export.h"
#include "tao/Strategies/OC_Endpoint_Selector_Factory.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
// Forward references
class TAO_Optimized_Connection_Endpoint_Selector;
// ****************************************************************
/**
* @class TAO_OC_Endpoint_Selector_Loader
*
* @brief Static initializer used to ensure the Optimized Connector
* Endpoint Selector is available for use in static applications
*
* This class is not needed when using dynamic linking and the service
* configuratior. Statically linked applications need to include this
* header to ensure that all the necessary dependencies are met. In
* addition, the svc config directive is required for setting any
* initialization parameters for the endpoint selector.
*/
class TAO_Strategies_Export TAO_OC_Endpoint_Selector_Loader
{
public:
static int init(void);
};
static int
TAO_Requires_OC_Endpoint_Selector_Loader =
TAO_OC_Endpoint_Selector_Loader::init ();
TAO_END_VERSIONED_NAMESPACE_DECL
#include /**/ "ace/post.h"
#endif /* TAO_OC_ENDPOINT_LOADER_H */
|