EC_Lifetime_Utils_T.h File Reference

#include "EC_Lifetime_Utils.h"

Classes

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

Functions

template<typename T>
void activate (T &obj_ref, PortableServer::POA_ptr poa, PortableServer::ServantBase *servant, TAO_EC_Object_Deactivator &object_deactivator ACE_ENV_ARG_DECL)
 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.
template<class X, class Y>
bool operator== (TAO_EC_Servant_Var< X > const &x, TAO_EC_Servant_Var< Y > const &y)
 Compare two TAO_EC_Servant_Vars for equivalence.
template<class X, class Y>
bool operator!= (TAO_EC_Servant_Var< X > const &x, TAO_EC_Servant_Var< Y > const &y)
 Compare two TAO_EC_Servant_Vars for non-equivalence.

Detailed Description

Id
EC_Lifetime_Utils_T.h,v 1.1.1.1 2005/01/03 19:36:00 chad Exp

Author:
Jody Hagins (jody@atdesk.com)

Marina Spivak (marina@atdesk.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  ACE_ENV_ARG_DECL
 

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.

template<class X, class Y>
bool operator!= TAO_EC_Servant_Var< X > const &  x,
TAO_EC_Servant_Var< Y > const &  y
 

Compare two TAO_EC_Servant_Vars for non-equivalence.

template<class X, class Y>
bool operator== TAO_EC_Servant_Var< X > const &  x,
TAO_EC_Servant_Var< Y > const &  y
 

Compare two TAO_EC_Servant_Vars for equivalence.


Generated on Wed Nov 23 16:18:05 2005 for TAO_RTEvent by  doxygen 1.4.5