This policy dictates the reference counting requirements for the handler. More...
#include <Event_Handler.h>
Public Types | |
enum | Value { ENABLED, DISABLED } |
Public Member Functions | |
Value | value (void) const |
Current Reference_Counting_Policy. | |
void | value (Value value) |
Update Reference_Counting_Policy. | |
Private Member Functions | |
Reference_Counting_Policy (Value value) | |
Private constructor. | |
Private Attributes | |
Value | value_ |
The value of the policy. | |
Friends | |
class | ACE_Event_Handler |
This policy can only be created by the handler. |
This policy dictates the reference counting requirements for the handler.
This policy allows applications to configure whether it wants the Reactor to call add_reference() and remove_reference() during registrations, removals, and upcalls.
Default: DISABLED.
Definition at line 252 of file Event_Handler.h.
Definition at line 259 of file Event_Handler.h.
{ /// Perform reference counting. ENABLED, /// Don't perform reference counting. DISABLED };
ACE_Event_Handler::Reference_Counting_Policy::Reference_Counting_Policy | ( | Reference_Counting_Policy::Value | value | ) | [private] |
ACE_Event_Handler::Reference_Counting_Policy::Value ACE_Event_Handler::Reference_Counting_Policy::value | ( | void | ) | const |
Current Reference_Counting_Policy.
Definition at line 230 of file Event_Handler.cpp.
{ return this->value_; }
void ACE_Event_Handler::Reference_Counting_Policy::value | ( | Value | value | ) |
Update Reference_Counting_Policy.
Definition at line 236 of file Event_Handler.cpp.
{ this->value_ = value; }
friend class ACE_Event_Handler [friend] |
This policy can only be created by the handler.
Definition at line 255 of file Event_Handler.h.
The value of the policy.
Definition at line 279 of file Event_Handler.h.