CIAO  1.0.8
Public Member Functions | Protected Types | Protected Member Functions | Protected Attributes
CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER > Class Template Reference

Mixin base class for generated home servant. More...

#include <Home_Servant_Impl_T.h>

Inheritance diagram for CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >:
Inheritance graph
[legend]
Collaboration diagram for CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 Home_Servant_Impl (typename EXEC::_ptr_type exe, typename CONTAINER::_ptr_type c, const char *ins_name)
virtual ~Home_Servant_Impl (void)
virtual void remove_component (Components::CCMObject_ptr comp)
 Operations for CCMHome interface.
virtual ::Components::CCMObject_ptr create_component (void)
 Operations for keyless home interface.
virtual COMP_SVNT::_stub_ptr_type create (void)
 Operations for implicit home interface.
virtual void update_component_map (PortableServer::ObjectId &oid)
void remove_components (void)

Protected Types

typedef
ACE_Hash_Map_Manager_Ex
< PortableServer::ObjectId,
Components::CCMObject_var,
TAO_ObjectId_Hash,
ACE_Equal_To
< PortableServer::ObjectId >
, TAO_SYNCH_MUTEX
OBJREF_MAP
typedef OBJREF_MAP::iterator OBJ_ITERATOR

Protected Member Functions

COMP_SVNT::_stub_ptr_type _ciao_activate_component (typename COMP_SVNT::_exec_type::_ptr_type exe)
 CIAO-specific operations.
void _ciao_passivate_component (typename COMP_SVNT::_stub_ptr_type comp)

Protected Attributes

ACE_CString ins_name_
EXEC::_var_type executor_
OBJREF_MAP objref_map_
ACE_Atomic_Op< TAO_SYNCH_MUTEX,
unsigned long > 
serial_number_
CONTAINER::_var_type container_

Detailed Description

template<typename BASE_SKEL, typename EXEC, typename COMP_SVNT, typename CONTAINER>
class CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >

Mixin base class for generated home servant.

This class implements operations common to all generated home servants.


Member Typedef Documentation

template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
typedef OBJREF_MAP::iterator CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::OBJ_ITERATOR [protected]
template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
typedef ACE_Hash_Map_Manager_Ex<PortableServer::ObjectId, Components::CCMObject_var, TAO_ObjectId_Hash, ACE_Equal_To<PortableServer::ObjectId>, TAO_SYNCH_MUTEX> CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::OBJREF_MAP [protected]

Constructor & Destructor Documentation

template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::Home_Servant_Impl ( typename EXEC::_ptr_type  exe,
typename CONTAINER::_ptr_type  c,
const char *  ins_name 
)
template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::~Home_Servant_Impl ( void  ) [virtual]

Member Function Documentation

template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
COMP_SVNT::_stub_ptr_type CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::_ciao_activate_component ( typename COMP_SVNT::_exec_type::_ptr_type  exe) [protected]

CIAO-specific operations.

template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
void CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::_ciao_passivate_component ( typename COMP_SVNT::_stub_ptr_type  comp) [protected]
template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
COMP_SVNT::_stub_ptr_type CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::create ( void  ) [virtual]

Operations for implicit home interface.

template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
Components::CCMObject_ptr CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::create_component ( void  )

Operations for keyless home interface.

template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
virtual void CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::remove_component ( Components::CCMObject_ptr  comp) [virtual]

Operations for CCMHome interface.

template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
void CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::remove_components ( void  )
template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
void CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::update_component_map ( PortableServer::ObjectId oid) [virtual]

Member Data Documentation

template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
CONTAINER::_var_type CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::container_ [protected]
template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
EXEC::_var_type CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::executor_ [protected]
template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
ACE_CString CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::ins_name_ [protected]
template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
OBJREF_MAP CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::objref_map_ [protected]
template<typename BASE_SKEL , typename EXEC , typename COMP_SVNT , typename CONTAINER >
ACE_Atomic_Op<TAO_SYNCH_MUTEX, unsigned long> CIAO::Home_Servant_Impl< BASE_SKEL, EXEC, COMP_SVNT, CONTAINER >::serial_number_ [protected]

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