00001 // -*- C++ -*- 00002 // 00003 // Event_Handler_T.inl,v 4.3 2005/10/28 16:14:52 ossama Exp 00004 00005 #include "ace/Global_Macros.h" 00006 00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL 00008 00009 template<class T> ACE_INLINE void 00010 ACE_Event_Handler_T<T>::op_handler (T *op) 00011 { 00012 ACE_TRACE ("ACE_Event_Handler_T<T>::op_handler"); 00013 this->op_handler_ = op; 00014 } 00015 00016 template<class T> ACE_INLINE T * 00017 ACE_Event_Handler_T<T>::op_handler (void) 00018 { 00019 ACE_TRACE ("ACE_Event_Handler_T<T>::op_handler"); 00020 return this->op_handler_; 00021 } 00022 00023 template<class T> ACE_INLINE ACE_TYPENAME ACE_Event_Handler_T<T>::GET_HANDLE 00024 ACE_Event_Handler_T<T>::handle_get (void) 00025 { 00026 ACE_TRACE ("ACE_Event_Handler_T<T>::handle_get"); 00027 return this->get_handle_; 00028 } 00029 00030 template<class T> ACE_INLINE void 00031 ACE_Event_Handler_T<T>::handle_get (ACE_TYPENAME ACE_Event_Handler_T<T>::GET_HANDLE h) 00032 { 00033 ACE_TRACE ("ACE_Event_Handler_T<T>::handle_get"); 00034 this->get_handle_ = h; 00035 } 00036 00037 template<class T> ACE_INLINE ACE_TYPENAME ACE_Event_Handler_T<T>::SET_HANDLE 00038 ACE_Event_Handler_T<T>::handle_set (void) 00039 { 00040 ACE_TRACE ("ACE_Event_Handler_T<T>::handle_set"); 00041 return this->set_handle_; 00042 } 00043 00044 template<class T> ACE_INLINE void 00045 ACE_Event_Handler_T<T>::handle_set (ACE_TYPENAME ACE_Event_Handler_T<T>::SET_HANDLE h) 00046 { 00047 ACE_TRACE ("ACE_Event_Handler_T<T>::handle_set"); 00048 this->set_handle_ = h; 00049 } 00050 00051 template<class T> ACE_INLINE ACE_TYPENAME ACE_Event_Handler_T<T>::IO_HANDLER 00052 ACE_Event_Handler_T<T>::input_handler (void) 00053 { 00054 ACE_TRACE ("ACE_Event_Handler_T<T>::input_handler"); 00055 return this->input_handler_; 00056 } 00057 00058 template<class T> ACE_INLINE void 00059 ACE_Event_Handler_T<T>::input_handler (ACE_TYPENAME ACE_Event_Handler_T<T>::IO_HANDLER h) 00060 { 00061 ACE_TRACE ("ACE_Event_Handler_T<T>::input_handler"); 00062 this->input_handler_ = h; 00063 } 00064 00065 template<class T> ACE_INLINE ACE_TYPENAME ACE_Event_Handler_T<T>::IO_HANDLER 00066 ACE_Event_Handler_T<T>::output_handler (void) 00067 { 00068 ACE_TRACE ("ACE_Event_Handler_T<T>::output_handler"); 00069 return this->output_handler_; 00070 } 00071 00072 template<class T> ACE_INLINE void 00073 ACE_Event_Handler_T<T>::output_handler (ACE_TYPENAME ACE_Event_Handler_T<T>::IO_HANDLER h) 00074 { 00075 ACE_TRACE ("ACE_Event_Handler_T<T>::output_handler"); 00076 this->output_handler_ = h; 00077 } 00078 00079 template<class T> ACE_INLINE ACE_TYPENAME ACE_Event_Handler_T<T>::IO_HANDLER 00080 ACE_Event_Handler_T<T>::except_handler (void) 00081 { 00082 ACE_TRACE ("ACE_Event_Handler_T<T>::except_handler"); 00083 return this->except_handler_; 00084 } 00085 00086 template<class T> ACE_INLINE void 00087 ACE_Event_Handler_T<T>::except_handler (ACE_TYPENAME ACE_Event_Handler_T<T>::IO_HANDLER h) 00088 { 00089 ACE_TRACE ("ACE_Event_Handler_T<T>::except_handler"); 00090 this->except_handler_ = h; 00091 } 00092 00093 template<class T> ACE_INLINE ACE_TYPENAME ACE_Event_Handler_T<T>::TO_HANDLER 00094 ACE_Event_Handler_T<T>::to_handler (void) 00095 { 00096 ACE_TRACE ("ACE_Event_Handler_T<T>::to_handler"); 00097 return this->to_handler_; 00098 } 00099 00100 template<class T> ACE_INLINE void 00101 ACE_Event_Handler_T<T>::to_handler (ACE_TYPENAME ACE_Event_Handler_T<T>::TO_HANDLER h) 00102 { 00103 ACE_TRACE ("ACE_Event_Handler_T<T>::to_handler"); 00104 this->to_handler_ = h; 00105 } 00106 00107 template<class T> ACE_INLINE ACE_TYPENAME ACE_Event_Handler_T<T>::CL_HANDLER 00108 ACE_Event_Handler_T<T>::cl_handler (void) 00109 { 00110 ACE_TRACE ("ACE_Event_Handler_T<T>::cl_handler"); 00111 return this->cl_handler_; 00112 } 00113 00114 template<class T> ACE_INLINE void 00115 ACE_Event_Handler_T<T>::cl_handler (ACE_TYPENAME ACE_Event_Handler_T<T>::CL_HANDLER h) 00116 { 00117 ACE_TRACE ("ACE_Event_Handler_T<T>::cl_handler"); 00118 this->cl_handler_ = h; 00119 } 00120 00121 template<class T> ACE_INLINE ACE_TYPENAME ACE_Event_Handler_T<T>::SIG_HANDLER 00122 ACE_Event_Handler_T<T>::sig_handler (void) 00123 { 00124 ACE_TRACE ("ACE_Event_Handler_T<T>::sig_handler"); 00125 return this->sig_handler_; 00126 } 00127 00128 template<class T> ACE_INLINE void 00129 ACE_Event_Handler_T<T>::sig_handler (ACE_TYPENAME ACE_Event_Handler_T<T>::SIG_HANDLER h) 00130 { 00131 ACE_TRACE ("ACE_Event_Handler_T<T>::sig_handler"); 00132 this->sig_handler_ = h; 00133 } 00134 00135 ACE_END_VERSIONED_NAMESPACE_DECL