This structure contains information of the activated event handler. More...
#include <TP_Reactor.h>

Public Member Functions | |
| ACE_EH_Dispatch_Info (void) | |
| void | set (ACE_HANDLE handle, ACE_Event_Handler *event_handler, ACE_Reactor_Mask mask, ACE_EH_PTMF callback) |
| bool | dispatch (void) const |
Public Attributes | |
| ACE_HANDLE | handle_ |
| ACE_Event_Handler * | event_handler_ |
| ACE_Reactor_Mask | mask_ |
| ACE_EH_PTMF | callback_ |
| int | resume_flag_ |
| bool | reference_counting_required_ |
Private Member Functions | |
| ACE_EH_Dispatch_Info (const ACE_EH_Dispatch_Info &) | |
| ACE_EH_Dispatch_Info & | operator= (const ACE_EH_Dispatch_Info &) |
Private Attributes | |
| bool | dispatch_ |
This structure contains information of the activated event handler.
Definition at line 49 of file TP_Reactor.h.
| ACE_EH_Dispatch_Info::ACE_EH_Dispatch_Info | ( | void | ) |
Definition at line 12 of file TP_Reactor.inl.
: handle_ (ACE_INVALID_HANDLE), event_handler_ (0), mask_ (ACE_Event_Handler::NULL_MASK), callback_ (0), resume_flag_ (ACE_Event_Handler::ACE_REACTOR_RESUMES_HANDLER), reference_counting_required_ (false), dispatch_ (false) { }
| ACE_EH_Dispatch_Info::ACE_EH_Dispatch_Info | ( | const ACE_EH_Dispatch_Info & | ) | [private] |
| bool ACE_EH_Dispatch_Info::dispatch | ( | void | ) | const |
Definition at line 47 of file TP_Reactor.inl.
{
return this->dispatch_;
}
| ACE_EH_Dispatch_Info& ACE_EH_Dispatch_Info::operator= | ( | const ACE_EH_Dispatch_Info & | ) | [private] |
| void ACE_EH_Dispatch_Info::set | ( | ACE_HANDLE | handle, | |
| ACE_Event_Handler * | event_handler, | |||
| ACE_Reactor_Mask | mask, | |||
| ACE_EH_PTMF | callback | |||
| ) |
Definition at line 24 of file TP_Reactor.inl.
{
this->dispatch_ = true;
this->handle_ = handle;
this->event_handler_ = event_handler;
this->mask_ = mask;
this->callback_ = callback;
if (event_handler_)
{
this->resume_flag_ = event_handler->resume_handler ();
this->reference_counting_required_ =
(event_handler_->reference_counting_policy ().value () ==
ACE_Event_Handler::Reference_Counting_Policy::ENABLED);
}
else
this->dispatch_ = false;
}
Definition at line 64 of file TP_Reactor.h.
bool ACE_EH_Dispatch_Info::dispatch_ [private] |
Definition at line 69 of file TP_Reactor.h.
Definition at line 62 of file TP_Reactor.h.
| ACE_HANDLE ACE_EH_Dispatch_Info::handle_ |
Definition at line 61 of file TP_Reactor.h.
Definition at line 63 of file TP_Reactor.h.
Definition at line 66 of file TP_Reactor.h.
Definition at line 65 of file TP_Reactor.h.
1.7.0