ACE 8.0.1
Loading...
Searching...
No Matches
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 ()
 Default destructor.
 
virtual int notify ()
 
virtual int notify (ACE_Event_Handler *eh, ACE_Reactor_Mask mask)
 
ACE_Reactorreactor ()
 Get the reactor.
 
void reactor (ACE_Reactor *r)
 Set the reactor.
 
- Public Member Functions inherited from ACE_Notification_Strategy
 ACE_Notification_Strategy (ACE_Event_Handler *eh, ACE_Reactor_Mask mask)
 Constructor.
 
virtual ~ACE_Notification_Strategy ()=default
 Destructor.
 
ACE_Event_Handlerevent_handler ()
 Get the event handler.
 
void event_handler (ACE_Event_Handler *eh)
 Set the event handler.
 
ACE_Reactor_Mask mask () const
 Get the reactor mask.
 
void mask (ACE_Reactor_Mask m)
 Set the reactor mask.
 

Protected Attributes

ACE_Reactorreactor_
 The Reactor.
 
- Protected Attributes inherited from ACE_Notification_Strategy
ACE_Event_Handlereh_
 The event handler.
 
ACE_Reactor_Mask mask_
 The reactor mask.
 

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_Notification_Strategy ( ACE_Reactor * reactor,
ACE_Event_Handler * eh,
ACE_Reactor_Mask mask )

◆ ~ACE_Reactor_Notification_Strategy()

ACE_Reactor_Notification_Strategy::~ACE_Reactor_Notification_Strategy ( )
virtual

Default destructor.

Member Function Documentation

◆ notify() [1/2]

int ACE_Reactor_Notification_Strategy::notify ( )
virtual

◆ notify() [2/2]

int ACE_Reactor_Notification_Strategy::notify ( ACE_Event_Handler * eh,
ACE_Reactor_Mask mask )
virtual

◆ reactor() [1/2]

ACE_Reactor * ACE_Reactor_Notification_Strategy::reactor ( )
inline

Get the reactor.

◆ reactor() [2/2]

void ACE_Reactor_Notification_Strategy::reactor ( ACE_Reactor * r)
inline

Set the reactor.

Member Data Documentation

◆ reactor_

ACE_Reactor* ACE_Reactor_Notification_Strategy::reactor_
protected

The Reactor.


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