2 * @file ProcessingModePolicy.pidl
4 * @brief Pre-compiled IDL source for the ProcessingModePolicy within
5 * the PortableInterceptor module.
8 * -o orig -Gp -Gd -GT -GA \
9 * -Wb,export_include="tao/TAO_Export.h" \
10 * -Wb,export_macro=TAO_Export \
11 * -Wb,pre_include="ace/pre.h" \
12 * -Wb,post_include="ace/post.h" \
13 * ProcessingModePolicy.pidl
16 #ifndef _PROCESSING_MODE_POLICY_PIDL_
17 #define _PROCESSING_MODE_POLICY_PIDL_
19 #include "tao/Policy.pidl"
21 module PortableInterceptor
24 // ProcessingMode Policy (default = LOCAL_AND_REMOTE)
25 typedef short ProcessingMode;
26 const ProcessingMode LOCAL_AND_REMOTE = 0;
27 const ProcessingMode REMOTE_ONLY = 1;
28 const ProcessingMode LOCAL_ONLY = 2;
30 /// @todo - Need to get the proper Policy Type code from OMG
31 const CORBA::PolicyType PROCESSING_MODE_POLICY_TYPE = 100;
33 local interface ProcessingModePolicy : CORBA::Policy
35 readonly attribute ProcessingMode processing_mode;
40 #endif /* _PROCESSING_MODE_POLICY_PIDL_ */