Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Reactor_Notification_Strategy Class Reference

Used to notify an ACE_Reactor. More...

#include <Reactor_Notification_Strategy.h>

Inheritance diagram for ACE_Reactor_Notification_Strategy:

Inheritance graph
Collaboration diagram for ACE_Reactor_Notification_Strategy:

Collaboration graph
List of all members.

Public Methods

 ACE_Reactor_Notification_Strategy (ACE_Reactor *reactor, ACE_Event_Handler *eh, ACE_Reactor_Mask mask)
virtual ~ACE_Reactor_Notification_Strategy (void)
 Default dtor. More...

virtual int notify (void)
virtual int notify (ACE_Event_Handler *, ACE_Reactor_Mask mask)
ACE_Reactorreactor (void)
 Get the reactor. More...

void reactor (ACE_Reactor *r)
 Set the reactor. More...

Protected Attributes

 The Reactor. More...

Detailed Description

Used to notify an ACE_Reactor.

Integrates the <ACE_Message_Queue> notification into the <ACE_Reactor::notify> method.

Definition at line 30 of file Reactor_Notification_Strategy.h.

Constructor & Destructor Documentation

ACE_Reactor_Notification_Strategy::ACE_Reactor_Notification_Strategy ACE_Reactor   reactor,
ACE_Event_Handler   eh,
ACE_Reactor_Mask    mask

Definition at line 11 of file Reactor_Notification_Strategy.cpp.

References ACE_Reactor_Mask.

00014   : ACE_Notification_Strategy (eh, mask),
00015     reactor_ (reactor)
00016 {
00017 }

ACE_Reactor_Notification_Strategy::~ACE_Reactor_Notification_Strategy void    [virtual]

Default dtor.

Definition at line 19 of file Reactor_Notification_Strategy.cpp.

00020 {
00021 }

Member Function Documentation

int ACE_Reactor_Notification_Strategy::notify ACE_Event_Handler  ,
ACE_Reactor_Mask    mask

Implements ACE_Notification_Strategy.

Definition at line 30 of file Reactor_Notification_Strategy.cpp.

References ACE_Reactor_Mask, ACE_Notification_Strategy::mask, ACE_Reactor::notify, and reactor_.

00032 {
00033   return this->reactor_->notify (eh, mask);
00034 }

int ACE_Reactor_Notification_Strategy::notify void    [virtual]

Implements ACE_Notification_Strategy.

Definition at line 24 of file Reactor_Notification_Strategy.cpp.

References ACE_Reactor::notify, and reactor_.

00025 {
00026   return this->reactor_->notify (this->eh_, this->mask_);
00027 }

ACE_INLINE void ACE_Reactor_Notification_Strategy::reactor ACE_Reactor   r

Set the reactor.

Definition at line 10 of file Reactor_Notification_Strategy.inl.

References reactor_.

00011 {
00012   this->reactor_ = r;
00013 }

ACE_INLINE ACE_Reactor * ACE_Reactor_Notification_Strategy::reactor void   

Get the reactor.

Definition at line 4 of file Reactor_Notification_Strategy.inl.

References reactor_.

00005 {
00006   return this->reactor_;
00007 }

Member Data Documentation

ACE_Reactor* ACE_Reactor_Notification_Strategy::reactor_ [protected]

The Reactor.

Definition at line 53 of file Reactor_Notification_Strategy.h.

Referenced by notify, and reactor.

The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:54:54 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002