ACE  6.1.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Public Types | Public Member Functions | Private Member Functions | Private Attributes | Friends | List of all members
ACE_Event_Handler::Reference_Counting_Policy Class Reference

This policy dictates the reference counting requirements for the handler. More...

#include <Event_Handler.h>

Inheritance diagram for ACE_Event_Handler::Reference_Counting_Policy:
Inheritance graph
Collaboration diagram for ACE_Event_Handler::Reference_Counting_Policy:
Collaboration graph

Public Types

enum  Value { ENABLED, DISABLED }

Public Member Functions

Value value (void) const
 Current Reference_Counting_Policy. More...
void value (Value value)
 Update Reference_Counting_Policy. More...
- Public Member Functions inherited from ACE_Event_Handler::Policy
virtual ~Policy (void)
 Virtual destructor. More...

Private Member Functions

 Reference_Counting_Policy (Value value)
 Private constructor. More...

Private Attributes

Value value_
 The value of the policy. More...


class ACE_Event_Handler
 This policy can only be created by the handler. More...

Detailed Description

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.

Member Enumeration Documentation


Perform reference counting.


Don't perform reference counting.

Constructor & Destructor Documentation

ACE_Event_Handler::Reference_Counting_Policy::Reference_Counting_Policy ( Reference_Counting_Policy::Value  value)

Private constructor.

Member Function Documentation

ACE_Event_Handler::Reference_Counting_Policy::Value ACE_Event_Handler::Reference_Counting_Policy::value ( void  ) const
void ACE_Event_Handler::Reference_Counting_Policy::value ( Value  value)

Friends And Related Function Documentation

friend class ACE_Event_Handler

This policy can only be created by the handler.

Member Data Documentation

Value ACE_Event_Handler::Reference_Counting_Policy::value_

The value of the policy.

The documentation for this class was generated from the following files: