00001
00002
00003
00004
00005 #include "ace/Reactor.h"
00006
00007 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
00008
00009 ACE_INLINE
00010 ACE_Event_Tuple::~ACE_Event_Tuple (void)
00011 {
00012 }
00013
00014 ACE_INLINE
00015 ACE_Select_Reactor_Handler_Repository::~ACE_Select_Reactor_Handler_Repository (void)
00016 {
00017 }
00018
00019 ACE_INLINE
00020 ACE_Select_Reactor_Handler_Repository_Iterator::~ACE_Select_Reactor_Handler_Repository_Iterator (void)
00021 {
00022 }
00023
00024 ACE_INLINE size_t
00025 ACE_Select_Reactor_Handler_Repository::size (void) const
00026 {
00027 return this->max_size_;
00028 }
00029
00030 ACE_INLINE
00031 ACE_Event_Tuple::ACE_Event_Tuple (void)
00032 : handle_ (ACE_INVALID_HANDLE),
00033 event_handler_ (0)
00034 {
00035 }
00036
00037 ACE_INLINE
00038 ACE_Event_Tuple::ACE_Event_Tuple (ACE_Event_Handler* eh,
00039 ACE_HANDLE h)
00040 : handle_ (h),
00041 event_handler_ (eh)
00042 {
00043 }
00044
00045 ACE_INLINE bool
00046 ACE_Event_Tuple::operator== (const ACE_Event_Tuple &rhs) const
00047 {
00048 return this->handle_ == rhs.handle_;
00049 }
00050
00051 ACE_INLINE bool
00052 ACE_Event_Tuple::operator!= (const ACE_Event_Tuple &rhs) const
00053 {
00054 return !(*this == rhs);
00055 }
00056
00057 ACE_INLINE
00058 ACE_Select_Reactor_Impl::ACE_Select_Reactor_Impl (bool ms)
00059 : handler_rep_ (*this)
00060 , timer_queue_ (0)
00061 , signal_handler_ (0)
00062 , notify_handler_ (0)
00063 , delete_timer_queue_ (false)
00064 , delete_signal_handler_ (false)
00065 , delete_notify_handler_ (false)
00066 , initialized_ (false)
00067 , restart_ (0)
00068 , requeue_position_ (-1)
00069 , state_changed_ (0)
00070 , mask_signals_ (ms)
00071 , supress_renew_ (0)
00072 {
00073 }
00074
00075 ACE_INLINE int
00076 ACE_Select_Reactor_Impl::supress_notify_renew (void)
00077 {
00078 return this->supress_renew_;
00079 }
00080
00081 ACE_INLINE void
00082 ACE_Select_Reactor_Impl::supress_notify_renew (int sr)
00083 {
00084 this->supress_renew_ = sr;
00085 }
00086
00087 ACE_END_VERSIONED_NAMESPACE_DECL