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
[legend]
Collaboration diagram for ACE_Reactor_Notification_Strategy:

Collaboration graph
[legend]
List of all members.

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 *, ACE_Reactor_Mask mask)
ACE_Reactorreactor (void)
 Get the reactor.

void reactor (ACE_Reactor *r)
 Set the reactor.


Protected Attributes

ACE_Reactorreactor_
 The Reactor.


Detailed Description

Used to notify an ACE_Reactor.

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

Definition at line 33 of file Reactor_Notification_Strategy.h.


Constructor & Destructor Documentation

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.

References ACE_Reactor_Mask.

00016   : ACE_Notification_Strategy (eh, mask),
00017     reactor_ (reactor)
00018 {
00019 }

ACE_Reactor_Notification_Strategy::~ACE_Reactor_Notification_Strategy void   )  [virtual]
 

Default dtor.

Definition at line 21 of file Reactor_Notification_Strategy.cpp.

00022 {
00023 }


Member Function Documentation

int ACE_Reactor_Notification_Strategy::notify ACE_Event_Handler ,
ACE_Reactor_Mask  mask
[virtual]
 

Implements ACE_Notification_Strategy.

Definition at line 32 of file Reactor_Notification_Strategy.cpp.

References ACE_Reactor_Mask, and ACE_Reactor::notify().

00034 {
00035   return this->reactor_->notify (eh, mask);
00036 }

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().

00027 {
00028   return this->reactor_->notify (this->eh_, this->mask_);
00029 }

ACE_INLINE void ACE_Reactor_Notification_Strategy::reactor ACE_Reactor r  ) 
 

Set the reactor.

Definition at line 14 of file Reactor_Notification_Strategy.inl.

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.

00009 {
00010   return this->reactor_;
00011 }


Member Data Documentation

ACE_Reactor* ACE_Reactor_Notification_Strategy::reactor_ [protected]
 

The Reactor.

Definition at line 56 of file Reactor_Notification_Strategy.h.


The documentation for this class was generated from the following files:
Generated on Thu Nov 9 11:27:45 2006 for ACE by doxygen 1.3.6