#include <Dev_Poll_Reactor.h>
Collaboration diagram for ACE_Dev_Poll_Handler_Guard:

Public Methods | |
| ACE_Dev_Poll_Handler_Guard (ACE_Dev_Poll_Reactor_Handler_Repository &repository, ACE_HANDLE handle) | |
| Constructor. | |
| ~ACE_Dev_Poll_Handler_Guard (void) | |
| Destructor. | |
Private Attributes | |
| ACE_Dev_Poll_Reactor_Handler_Repository & | repository_ |
| ACE_HANDLE | handle_ |
| Handle corresponding to the event being dispatched. | |
This class makes the reference count manipulation that occurs during an upcall exception-safe. Prior to dispatching the event handler, the reference count is increased. Once the upcall for the given event handler is complete, its reference count will be decreased.
|
||||||||||||
|
Constructor. The constructor increments the reference count on the event handler corresponding to the given handle. |
|
|
Destructor. The destructor decrements the reference count on the event handler corresponding to the given handle. |
|
|
Handle corresponding to the event being dispatched.
|
|
|
Reference to the handler repository containing the event handler used during the upcall. |
1.2.18