1 #include "tao/PI/ProcessingModePolicy.h"
3 #if TAO_HAS_INTERCEPTORS == 1
5 #include "tao/PortableInterceptorC.h"
6 #include "tao/SystemException.h"
7 #include "ace/CORBA_macros.h"
9 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
11 // Should this all be wrapped in #if (TAO_HAS_MINIMUM_POA == 0)?
13 TAO_ProcessingModePolicy::TAO_ProcessingModePolicy
14 (PortableInterceptor::ProcessingMode mode
)
15 : processing_mode_ (mode
)
20 TAO_ProcessingModePolicy::copy ()
22 TAO_ProcessingModePolicy
*copy
{};
23 ACE_NEW_THROW_EX (copy
,
24 TAO_ProcessingModePolicy (this->processing_mode_
),
31 TAO_ProcessingModePolicy::destroy ()
35 PortableInterceptor::ProcessingMode
36 TAO_ProcessingModePolicy::processing_mode ()
38 return processing_mode_
;
42 TAO_ProcessingModePolicy::policy_type ()
44 return PortableInterceptor::PROCESSING_MODE_POLICY_TYPE
;
47 TAO_END_VERSIONED_NAMESPACE_DECL
49 #endif /* TAO_HAS_INTERCEPTORS == 1 */