[6916] Fixed typos in spell checking code.
[getmangos.git] / dep / ACE_wrappers / ace / Notification_Queue.inl
blobd3579d272cfaf2a01a8410053f9f5cd7b171770b
1 // $Id: Notification_Queue.inl 81315 2008-04-10 07:14:15Z johnnyw $
3 ACE_BEGIN_VERSIONED_NAMESPACE_DECL
5 ACE_INLINE ACE_Notification_Queue_Node::
6 ACE_Notification_Queue_Node()
7   : ACE_Intrusive_List_Node<ACE_Notification_Queue_Node>()
8   , contents_(0, 0)
12 ACE_INLINE void
13 ACE_Notification_Queue_Node::
14 set(ACE_Notification_Buffer const & rhs)
16   contents_ = rhs;
19 ACE_INLINE ACE_Notification_Buffer const &
20 ACE_Notification_Queue_Node::
21 get() const
23   return contents_;
26 ACE_INLINE bool
27 ACE_Notification_Queue_Node::
28 matches_for_purging(ACE_Event_Handler * eh) const
30   return (0 != get().eh_) && (0 == eh || eh == get().eh_);
33 ACE_INLINE bool
34 ACE_Notification_Queue_Node::
35 mask_disables_all_notifications(ACE_Reactor_Mask mask)
37   // the existing notification mask is left with nothing when applying
38   // the mask
39   return ACE_BIT_DISABLED (get().mask_, ~mask);
42 ACE_INLINE void
43 ACE_Notification_Queue_Node::
44 clear_mask(ACE_Reactor_Mask mask)
46   ACE_CLR_BITS(contents_.mask_, mask);
49 ACE_END_VERSIONED_NAMESPACE_DECL