TAO_RTEvent
2.0.8
|
Object deactivation utility (mix-in) class. More...
#include <EC_Lifetime_Utils.h>
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. |
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.
TAO_EC_Deactivated_Object::TAO_EC_Deactivated_Object | ( | void | ) | [protected] |
TAO_EC_Deactivated_Object::~TAO_EC_Deactivated_Object | ( | void | ) | [protected] |
void TAO_EC_Deactivated_Object::set_deactivator | ( | TAO_EC_Object_Deactivator & | deactivator | ) |
Set deactivation state to that specified by the deactivator argument.
Utility for deactivating ourselves from POA.