diff options
Diffstat (limited to 'ACE/TAO/tests/Portable_Interceptors/Benchmark/Interceptor_Type.h')
-rw-r--r-- | ACE/TAO/tests/Portable_Interceptors/Benchmark/Interceptor_Type.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/ACE/TAO/tests/Portable_Interceptors/Benchmark/Interceptor_Type.h b/ACE/TAO/tests/Portable_Interceptors/Benchmark/Interceptor_Type.h new file mode 100644 index 00000000000..b8e03992c7e --- /dev/null +++ b/ACE/TAO/tests/Portable_Interceptors/Benchmark/Interceptor_Type.h @@ -0,0 +1,33 @@ +// -*- C++ -*- +// +// $Id$ +// + +#ifndef TAO_INTERCEPTOR_TYPE_H +#define TAO_INTERCEPTOR_TYPE_H +#include /**/ "ace/pre.h" + +#include "ace/config-all.h" + +/// The different type of interceptors have different functionality +/// to perform. +enum Interceptor_Type +{ + /// Do not register an interceptor + IT_NONE, + + /// Does nothing on all interception points + IT_NOOP, + + /// Perform service context manipulation + IT_CONTEXT, + + /// Invoke dynamic interface methods and does extraction from anys. + IT_DYNAMIC +}; + +void get_interceptor_type (int argc, ACE_TCHAR *argv[], + int &interceptor_type); + +#include /**/ "ace/post.h" +#endif /* TAO_INTERCEPTOR_TYPE_H */ |