TAO_RTEvent  2.0.8
Public Member Functions | Protected Member Functions | Protected Attributes
TAO_EC_Deactivated_Object Class Reference

Object deactivation utility (mix-in) class. More...

#include <EC_Lifetime_Utils.h>

Inheritance diagram for TAO_EC_Deactivated_Object:
Inheritance graph
[legend]
Collaboration diagram for TAO_EC_Deactivated_Object:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void set_deactivator (TAO_EC_Object_Deactivator &deactivator)

Protected Member Functions

 TAO_EC_Deactivated_Object (void)
 ~TAO_EC_Deactivated_Object (void)

Protected Attributes

TAO_EC_Object_Deactivator deactivator_
 Utility for deactivating ourselves from POA.

Detailed Description

Object deactivation utility (mix-in) class.

Maintains state necessary to deactivate object inheriting from this class from POA. The state can be set using set_deactivator() method. Then, the object can deactivate itself by doing this->deactivator_.deactivate ()

NOTE: deactivation does NOT happen automatically, and must be explicitly initiated as described above.


Constructor & Destructor Documentation

TAO_EC_Deactivated_Object::TAO_EC_Deactivated_Object ( void  ) [protected]
TAO_EC_Deactivated_Object::~TAO_EC_Deactivated_Object ( void  ) [protected]

Member Function Documentation

void TAO_EC_Deactivated_Object::set_deactivator ( TAO_EC_Object_Deactivator deactivator)

Set deactivation state to that specified by the deactivator argument.


Member Data Documentation

Utility for deactivating ourselves from POA.


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