Public Member Functions | Public Attributes | Private Member Functions | Private Attributes

ACE_EH_Dispatch_Info Class Reference

This structure contains information of the activated event handler. More...

#include <TP_Reactor.h>

Collaboration diagram for ACE_EH_Dispatch_Info:
Collaboration graph
[legend]

List of all members.

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_Handlerevent_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_Infooperator= (const ACE_EH_Dispatch_Info &)

Private Attributes

bool dispatch_

Detailed Description

This structure contains information of the activated event handler.

Definition at line 49 of file TP_Reactor.h.


Constructor & Destructor Documentation

ACE_EH_Dispatch_Info::ACE_EH_Dispatch_Info ( void   ) 
ACE_EH_Dispatch_Info::ACE_EH_Dispatch_Info ( const ACE_EH_Dispatch_Info  )  [private]

Member Function Documentation

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;
}


Member Data Documentation

Definition at line 64 of file TP_Reactor.h.

Definition at line 69 of file TP_Reactor.h.

Definition at line 62 of file TP_Reactor.h.

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.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines