00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef TAO_RT_POLICY_FACTORY_H
00016 #define TAO_RT_POLICY_FACTORY_H
00017
00018 #include "ace/pre.h"
00019
00020 #include "tao/orbconf.h"
00021
00022 #if defined (TAO_HAS_CORBA_MESSAGING) && TAO_HAS_CORBA_MESSAGING != 0
00023
00024 #include "tao/RTCORBA/rtcorba_export.h"
00025
00026 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00027 # pragma once
00028 #endif
00029
00030 #include "tao/PI/PI.h"
00031 #include "tao/LocalObject.h"
00032
00033
00034
00035 #if defined(_MSC_VER)
00036 #pragma warning(push)
00037 #pragma warning(disable:4250)
00038 #endif
00039
00040 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00041
00042
00043 class TAO_RT_PolicyFactory
00044 : public virtual PortableInterceptor::PolicyFactory,
00045 public virtual TAO_Local_RefCounted_Object
00046 {
00047 public:
00048
00049 CORBA::Policy_ptr create_policy (CORBA::PolicyType type,
00050 const CORBA::Any &value
00051 );
00052
00053 CORBA::Policy_ptr _create_policy (CORBA::PolicyType type
00054 );
00055 };
00056
00057 TAO_END_VERSIONED_NAMESPACE_DECL
00058
00059 #if defined(_MSC_VER)
00060 #pragma warning(pop)
00061 #endif
00062
00063 #endif
00064
00065 #include "ace/post.h"
00066
00067 #endif