summaryrefslogtreecommitdiff
path: root/TAO/tests/Portable_Interceptors/Benchmark/Interceptor_Type.h
blob: aed618939fa31917aec0d0913b8792bd0effd09e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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, char *argv[],
                           int &interceptor_type);

#include /**/ "ace/post.h"
#endif /* TAO_INTERCEPTOR_TYPE_H */