blob: 85236c1f2cfe7ec795a81544d0fd48450d96deec (
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
|
// -*- C++ -*-
//=============================================================================
/**
* @file PI_PolicyFactory.h
*
* @author Tim Bradley <bradley_t@ociweb.com>
*/
//=============================================================================
#ifndef TAO_PI_POLICY_FACTORY_H
#define TAO_PI_POLICY_FACTORY_H
#include /**/ "ace/pre.h"
#include "tao/orbconf.h"
#if TAO_HAS_INTERCEPTORS == 1
#include "tao/PI/pi_export.h"
#if !defined (ACE_LACKS_PRAGMA_ONCE)
# pragma once
#endif /* ACE_LACKS_PRAGMA_ONCE */
#include "tao/LocalObject.h"
#include "tao/PI/PI_includeC.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
/// Policy factory for all PortableInterceptor related policies.
class TAO_PI_Export TAO_PI_PolicyFactory
: public virtual PortableInterceptor::PolicyFactory,
public virtual ::CORBA::LocalObject
{
public:
CORBA::Policy_ptr create_policy (CORBA::PolicyType type, const CORBA::Any & value);
};
TAO_END_VERSIONED_NAMESPACE_DECL
#endif /* TAO_HAS_INTERCEPTORS == 1 */
#include /**/ "ace/post.h"
#endif /* TAO_PI_POLICY_FACTORY_H */
|