Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012 #ifndef TAO_PROCESSING_MODE_POLICY_H
00013 #define TAO_PROCESSING_MODE_POLICY_H
00014
00015 #include "ace/pre.h"
00016
00017 #include "tao/orbconf.h"
00018
00019 #if TAO_HAS_INTERCEPTORS == 1
00020
00021 #include "tao/PI/pi_export.h"
00022
00023 #if !defined (ACE_LACKS_PRAGMA_ONCE)
00024 # pragma once
00025 #endif
00026
00027 #include "tao/LocalObject.h"
00028 #include "tao/PI/PI_includeC.h"
00029
00030 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00031
00032
00033
00034
00035
00036
00037
00038
00039
00040
00041 class TAO_PI_Export TAO_ProcessingModePolicy
00042 : public PortableInterceptor::ProcessingModePolicy,
00043 public ::CORBA::LocalObject
00044 {
00045 public:
00046
00047 TAO_ProcessingModePolicy (PortableInterceptor::ProcessingMode mode);
00048
00049 virtual PortableInterceptor::ProcessingMode processing_mode (void);
00050
00051 virtual CORBA::PolicyType policy_type (void);
00052
00053 virtual CORBA::Policy_ptr copy (void);
00054
00055 virtual void destroy (void);
00056
00057 private:
00058
00059 PortableInterceptor::ProcessingMode processing_mode_;
00060 };
00061
00062 TAO_END_VERSIONED_NAMESPACE_DECL
00063
00064 #endif
00065
00066 #include "ace/post.h"
00067 #endif