#include <Notification_Strategy.h>
Inheritance diagram for ACE_Notification_Strategy:


Public Methods | |
| ACE_Notification_Strategy (ACE_Event_Handler *eh, ACE_Reactor_Mask mask) | |
| Constructor. More... | |
| virtual | ~ACE_Notification_Strategy (void) |
| Destructor. More... | |
| virtual int | notify (void)=0 |
| virtual int | notify (ACE_Event_Handler *, ACE_Reactor_Mask mask)=0 |
| ACE_Event_Handler * | event_handler (void) |
| Get the event handler. More... | |
| void | event_handler (ACE_Event_Handler *eh) |
| Set the event handler. More... | |
| ACE_Reactor_Mask | mask (void) const |
| Get the reactor mask. More... | |
| void | mask (ACE_Reactor_Mask m) |
| Set the reactor mask. More... | |
Protected Attributes | |
| ACE_Event_Handler * | eh_ |
| The event handler. More... | |
| ACE_Reactor_Mask | mask_ |
| The reactor mask. More... | |
A vehicle for extending the behavior of ACE_Message_Queue wrt notification *without subclassing*. Thus, it's an example of the Bridge/Strategy patterns.
Definition at line 33 of file Notification_Strategy.h.
|
||||||||||||
|
Constructor.
Definition at line 10 of file Notification_Strategy.cpp. References ACE_Reactor_Mask.
|
|
|
Destructor.
Definition at line 17 of file Notification_Strategy.cpp.
00018 {
00019 }
|
|
|
Set the event handler.
Definition at line 11 of file Notification_Strategy.inl. References eh_.
00012 {
00013 this->eh_ = eh;
00014 }
|
|
|
Get the event handler.
Definition at line 5 of file Notification_Strategy.inl. References eh_.
00006 {
00007 return eh_;
00008 }
|
|
|
Set the reactor mask.
Definition at line 23 of file Notification_Strategy.inl. References ACE_Reactor_Mask, and mask_.
00024 {
00025 this->mask_ = m;
00026 }
|
|
|
Get the reactor mask.
Definition at line 17 of file Notification_Strategy.inl. References mask_. Referenced by ACE_Reactor_Notification_Strategy::notify.
00018 {
00019 return mask_;
00020 }
|
|
||||||||||||
|
Implemented in ACE_Reactor_Notification_Strategy. |
|
|
Implemented in ACE_Reactor_Notification_Strategy. Referenced by ACE_Message_Queue< ACE_SYNCH_USE >::notify. |
|
|
The event handler.
Definition at line 61 of file Notification_Strategy.h. Referenced by event_handler. |
|
|
The reactor mask.
Definition at line 64 of file Notification_Strategy.h. Referenced by mask. |
1.2.14 written by Dimitri van Heesch,
© 1997-2002