#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.
Definition at line 251 of file Event_Handler.h.
Definition at line 258 of file Event_Handler.h.
00259 { 00260 /// Perform reference counting. 00261 ENABLED, 00262 /// Don't perform reference counting. 00263 DISABLED 00264 };
| ACE_Event_Handler::Reference_Counting_Policy::Reference_Counting_Policy | ( | Value | value | ) | [private] |
| void ACE_Event_Handler::Reference_Counting_Policy::value | ( | Value | value | ) |
Update Reference_Counting_Policy.
Definition at line 236 of file Event_Handler.cpp.
References value_.
| 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.
References value_.
Referenced by ACE_Event_Handler::add_reference(), and ACE_Event_Handler::remove_reference().
00231 { 00232 return this->value_; 00233 }
friend class ACE_Event_Handler [friend] |
1.4.7