3 //=============================================================================
5 * @file PortableInterceptor.h
7 * A series of TAO_INTERCEPTOR* macros are defined in this file.
8 * These macros allows us to disable/enable support of interceptors
11 * @author Nanbor Wang <nanbor@cs.wustl.edu>
12 * @author Kirthika Parameswaran <kirthika@cs.wustl.edu>
13 * @author Ossama Othman <ossama@uci.edu>
15 //=============================================================================
18 #ifndef TAO_PORTABLE_INTERCEPTOR_H
19 #define TAO_PORTABLE_INTERCEPTOR_H
21 #include /**/ "ace/pre.h"
23 #include "tao/orbconf.h"
25 #if !defined (ACE_LACKS_PRAGMA_ONCE)
27 #endif /* ACE_LACKS_PRAGMA_ONCE */
29 #if (TAO_HAS_INTERCEPTORS == 1)
30 # define TAO_INTERCEPTOR(X) X
32 # define TAO_INTERCEPTOR(X)
33 #endif /* TAO_HAS_INTERCEPTORS */
35 #include /**/ "ace/post.h"
37 #endif /* TAO_PORTABLE_INTERCEPTOR_H */