summaryrefslogtreecommitdiff
path: root/ace/Event_Handler_T.cpp
blob: dcc36466413bdc869d62ea2fa4a8f66927ca830a (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
45
46
47
48
49
50
51
52
53
54
// Event_Handler_T.cpp
// $Id$

#define ACE_BUILD_DLL
#include "ace/Event_Handler_T.h"

#if defined (ACE_HAS_TEMPLATE_TYPEDEFS)

#if !defined (__ACE_INLINE__)
#include "ace/Event_Handler_T.i"
#endif /* __ACE_INLINE__ */

ACE_ALLOC_HOOK_DEFINE(ACE_Event_Handler_T)

template <class T> void
ACE_Event_Handler_T<T>::dump (void) const
{
  ACE_TRACE ("ACE_Event_Handler_T<T>::dump");
}

template<class T>
ACE_Event_Handler_T<T>::~ACE_Event_Handler_T (void)
{
  ACE_TRACE ("ACE_Event_Handler_T<T>::~ACE_Event_Handler_T");
  if (this->delete_handler_)
    delete this->op_handler_;
}

template <class T>
ACE_Event_Handler_T<T>::ACE_Event_Handler_T (T *op_handler, int delete_handler,
					     GET_HANDLE get_handle,
					     IO_HANDLER input_h,
					     CL_HANDLER close_h,
					     SIG_HANDLER sig_h,
					     TO_HANDLER timeout_h,
					     IO_HANDLER output_h,
					     SET_HANDLE set_handle,
					     IO_HANDLER except_h)
  : op_handler_ (op_handler),
    delete_handler_ (delete_handler),
    get_handle_ (get_handle),
    input_handler_ (input_h),
    cl_handler_ (close_h),
    sig_handler_ (sig_h),
    to_handler_ (timeout_h),
    output_handler_ (output_h),
    set_handle_ (set_handle),
    except_handler_ (except_h)
{
  ACE_TRACE ("ACE_Event_Handler_T<T>::ACE_Event_Handler_T");
}

#endif /* ACE_HAS_TEMPLATE_TYPEDEFS */