#include <Event_Handler.h>
Inheritance diagram for ACE_Event_Handler::Reference_Counting_Policy:
Public Types | |
ENABLED | |
Perform reference counting. | |
DISABLED | |
Don't perform reference counting. | |
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 allows applications to configure whether it wants the Reactor to call add_reference() and remove_reference() during registrations, removals, and upcalls.
Default: DISABLED.
ACE_Event_Handler::Reference_Counting_Policy::Reference_Counting_Policy | ( | Value | value | ) | [private] |
Private constructor.
void ACE_Event_Handler::Reference_Counting_Policy::value | ( | Value | value | ) |
Update Reference_Counting_Policy.
ACE_Event_Handler::Reference_Counting_Policy::Value ACE_Event_Handler::Reference_Counting_Policy::value | ( | void | ) | const |
Current Reference_Counting_Policy.
friend class ACE_Event_Handler [friend] |
This policy can only be created by the handler.
The value of the policy.