TAO_RTEvent  2.2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Functions
EC_Lifetime_Utils_T.h File Reference
#include "orbsvcs/Event/EC_Lifetime_Utils.h"
#include "orbsvcs/Event/EC_Lifetime_Utils_T.inl"
#include "orbsvcs/Event/EC_Lifetime_Utils_T.cpp"

Classes

class  TAO_EC_Auto_Command< T >
 Utility class which executes COMMAND in its destructor. More...
 
class  TAO_EC_Shutdown_Command< T >
 

Functions

template<typename T >
void activate (T &obj_ref, PortableServer::POA_ptr poa, PortableServer::ServantBase *servant, TAO_EC_Object_Deactivator &object_deactivator)
 Helper for activating objects. Activates servant with poa and returns the object reference via obj_ref. If object_deactivator != 0, it is populated with info necessary to deactivate the servant from poa. More...
 

Detailed Description

Id:
EC_Lifetime_Utils_T.h 92388 2010-10-28 07:57:07Z johnnyw
Author
Jody Hagins (jody@.nosp@m.atde.nosp@m.sk.co.nosp@m.m)
Marina Spivak (marin.nosp@m.a@at.nosp@m.desk..nosp@m.com)

This file is a temporary place for general CORBA application utility classes. These classes will be moved out from the EC library and into TAO or will be replaced by other TAO classes with similar functionality.

Function Documentation

template<typename T >
void activate ( T &  obj_ref,
PortableServer::POA_ptr  poa,
PortableServer::ServantBase servant,
TAO_EC_Object_Deactivator object_deactivator 
)

Helper for activating objects. Activates servant with poa and returns the object reference via obj_ref. If object_deactivator != 0, it is populated with info necessary to deactivate the servant from poa.