summaryrefslogtreecommitdiff
path: root/TAO/tao/strategy_T.h
blob: c9afa9d9c88e3a62e19135a124ef19b5aa7e5037 (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
34
35
36
37
38
39
40
41
42
43
44
// This may look like C, but it's really -*- C++ -*-
// $Id$

// ============================================================================
//
// = LIBRARY
//     TAO
// 
// = FILENAME
//     strategy_T.h
//
// = AUTHOR
//     Chris Cleeland
//
// ============================================================================

#if !defined (TAO_STRATEGY_T_H)
#  define TAO_STRATEGY_T_H

#include "ace/Strategies_T.h"

template <class SH>
class TAO_Reactive_Strategy : public ACE_Reactive_Strategy<SH>
{
public:
  TAO_Reactive_Strategy (void);
  ~TAO_Reactive_Strategy (void);

  virtual int activate_svc_handler (SH *sh, void *arg);
};

#if defined (__ACE_INLINE__)
#include "tao/strategy_T.i"
#endif /* __ACE_INLINE__ */

#if defined (ACE_TEMPLATES_REQUIRE_SOURCE)
#include "tao/strategy_T.cpp"
#endif /* ACE_TEMPLATES_REQUIRE_SOURCE */

#if defined (ACE_TEMPLATES_REQUIRE_PRAGMA)
#pragma implementation ("strategy_T.cpp")
#endif /* ACE_TEMPLATES_REQUIRE_PRAGMA */

#endif /* TAO_STRATEGY_T_H */