1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90
|
.TH ACE_Notification_Strategy 3 "1 Dec 2001" "ACE" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ACE_Notification_Strategy \- Abstract class used for notifing an interested party.
.SH SYNOPSIS
.br
.PP
\fC#include <Strategies.h>\fR
.PP
Inherited by \fBACE_Reactor_Notification_Strategy\fR.
.PP
.SS Public Methods
.in +1c
.ti -1c
.RI "\fBACE_Notification_Strategy\fR (\fBACE_Event_Handler\fR *eh, \fBACE_Reactor_Mask\fR mask)"
.br
.ti -1c
.RI "virtual \fB~ACE_Notification_Strategy\fR (void)"
.br
.ti -1c
.RI "virtual int \fBnotify\fR (void) = 0"
.br
.ti -1c
.RI "virtual int \fBnotify\fR (\fBACE_Event_Handler\fR *, \fBACE_Reactor_Mask\fR mask) = 0"
.br
.ti -1c
.RI "\fBACE_Event_Handler\fR* \fBevent_handler\fR (void)"
.br
.ti -1c
.RI "void \fBevent_handler\fR (\fBACE_Event_Handler\fR *eh)"
.br
.ti -1c
.RI "\fBACE_Reactor_Mask\fR \fBmask\fR (void)"
.br
.ti -1c
.RI "void \fBmask\fR (\fBACE_Reactor_Mask\fR m)"
.br
.in -1c
.SS Protected Attributes
.in +1c
.ti -1c
.RI "\fBACE_Event_Handler\fR* \fBeh_\fR"
.br
.ti -1c
.RI "\fBACE_Reactor_Mask\fR \fBmask_\fR"
.br
.in -1c
.SH DETAILED DESCRIPTION
.PP
Abstract class used for notifing an interested party.
.PP
.PP
A vehicle for extending the behavior of \fBACE_Message_Queue\fR wrt notification *without subclassing*. Thus, it's an example of the Bridge/Strategy patterns.
.PP
.SH CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
.PP
.SS ACE_Notification_Strategy::ACE_Notification_Strategy (\fBACE_Event_Handler\fR * eh, \fBACE_Reactor_Mask\fR mask)
.PP
.SS virtual ACE_Notification_Strategy::~ACE_Notification_Strategy (void)\fC [virtual]\fR
.PP
.SH MEMBER FUNCTION DOCUMENTATION
.PP
.SS void ACE_Notification_Strategy::event_handler (\fBACE_Event_Handler\fR * eh)
.PP
.SS \fBACE_Event_Handler\fR* ACE_Notification_Strategy::event_handler (void)
.PP
.SS void ACE_Notification_Strategy::mask (\fBACE_Reactor_Mask\fR m)
.PP
.SS \fBACE_Reactor_Mask\fR ACE_Notification_Strategy::mask (void)
.PP
.SS virtual int ACE_Notification_Strategy::notify (\fBACE_Event_Handler\fR *, \fBACE_Reactor_Mask\fR mask)\fC [pure virtual]\fR
.PP
Reimplemented in \fBACE_Reactor_Notification_Strategy\fR.
.SS virtual int ACE_Notification_Strategy::notify (void)\fC [pure virtual]\fR
.PP
Reimplemented in \fBACE_Reactor_Notification_Strategy\fR.
.SH MEMBER DATA DOCUMENTATION
.PP
.SS \fBACE_Event_Handler\fR * ACE_Notification_Strategy::eh_\fC [protected]\fR
.PP
.SS \fBACE_Reactor_Mask\fR ACE_Notification_Strategy::mask_\fC [protected]\fR
.PP
.SH AUTHOR
.PP
Generated automatically by Doxygen for ACE from the source code.
|