#include <Reactor_Notification_Strategy.h>
Inheritance diagram for ACE_Reactor_Notification_Strategy:
Public Member Functions | |
ACE_Reactor_Notification_Strategy (ACE_Reactor *reactor, ACE_Event_Handler *eh, ACE_Reactor_Mask mask) | |
virtual | ~ACE_Reactor_Notification_Strategy (void) |
Default dtor. | |
virtual int | notify (void) |
virtual int | notify (ACE_Event_Handler *eh, ACE_Reactor_Mask mask) |
ACE_Reactor * | reactor (void) |
Get the reactor. | |
void | reactor (ACE_Reactor *r) |
Set the reactor. | |
Protected Attributes | |
ACE_Reactor * | reactor_ |
The Reactor. |
Integrates the ACE_Message_Queue notification into the <ACE_Reactor::notify> method.
Definition at line 33 of file Reactor_Notification_Strategy.h.
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_Reactor_Notification_Strategy::ACE_Reactor_Notification_Strategy | ( | ACE_Reactor * | reactor, | |
ACE_Event_Handler * | eh, | |||
ACE_Reactor_Mask | mask | |||
) |
Definition at line 12 of file Reactor_Notification_Strategy.cpp.
00016 : ACE_Notification_Strategy (eh, mask), 00017 reactor_ (reactor) 00018 { 00019 }
ACE_Reactor_Notification_Strategy::~ACE_Reactor_Notification_Strategy | ( | void | ) | [virtual] |
int ACE_Reactor_Notification_Strategy::notify | ( | ACE_Event_Handler * | eh, | |
ACE_Reactor_Mask | mask | |||
) | [virtual] |
Implements ACE_Notification_Strategy.
Definition at line 32 of file Reactor_Notification_Strategy.cpp.
References ACE_Reactor::notify(), and reactor_.
int ACE_Reactor_Notification_Strategy::notify | ( | void | ) | [virtual] |
Implements ACE_Notification_Strategy.
Definition at line 26 of file Reactor_Notification_Strategy.cpp.
References ACE_Reactor::notify(), and reactor_.
ACE_INLINE void ACE_Reactor_Notification_Strategy::reactor | ( | ACE_Reactor * | r | ) |
Set the reactor.
Definition at line 14 of file Reactor_Notification_Strategy.inl.
References reactor_.
00015 { 00016 this->reactor_ = r; 00017 }
ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_INLINE ACE_Reactor * ACE_Reactor_Notification_Strategy::reactor | ( | void | ) |
Get the reactor.
Definition at line 8 of file Reactor_Notification_Strategy.inl.
References reactor_.
00009 { 00010 return this->reactor_; 00011 }
ACE_Reactor* ACE_Reactor_Notification_Strategy::reactor_ [protected] |