ACE  6.3.3
Public Member Functions | Protected Attributes | List of all members
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]

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 destructor. More...
 
virtual int notify (void)
 
virtual int notify (ACE_Event_Handler *eh, ACE_Reactor_Mask mask)
 
ACE_Reactorreactor (void)
 Get the reactor. More...
 
void reactor (ACE_Reactor *r)
 Set the reactor. More...
 
- Public Member Functions inherited from ACE_Notification_Strategy
 ACE_Notification_Strategy (ACE_Event_Handler *eh, ACE_Reactor_Mask mask)
 Constructor. More...
 
virtual ~ACE_Notification_Strategy (void)
 Destructor. More...
 
ACE_Event_Handlerevent_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_Reactorreactor_
 The Reactor. More...
 
- Protected Attributes inherited from ACE_Notification_Strategy
ACE_Event_Handlereh_
 The event handler. More...
 
ACE_Reactor_Mask mask_
 The reactor mask. More...
 

Detailed Description

Used to notify an ACE_Reactor.

Integrates the ACE_Message_Queue notification into the ACE_Reactor::notify() method.

Constructor & Destructor Documentation

ACE_Reactor_Notification_Strategy::ACE_Reactor_Notification_Strategy ( ACE_Reactor reactor,
ACE_Event_Handler eh,
ACE_Reactor_Mask  mask 
)
ACE_Reactor_Notification_Strategy::~ACE_Reactor_Notification_Strategy ( void  )
virtual

Default destructor.

Member Function Documentation

int ACE_Reactor_Notification_Strategy::notify ( void  )
virtual
int ACE_Reactor_Notification_Strategy::notify ( ACE_Event_Handler eh,
ACE_Reactor_Mask  mask 
)
virtual
ACE_Reactor * ACE_Reactor_Notification_Strategy::reactor ( void  )
inline

Get the reactor.

void ACE_Reactor_Notification_Strategy::reactor ( ACE_Reactor r)
inline

Set the reactor.

Member Data Documentation

ACE_Reactor* ACE_Reactor_Notification_Strategy::reactor_
protected

The Reactor.


The documentation for this class was generated from the following files: