CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV > Class Template Reference

Concrete class that implements the strategy for creating the right type of servant for the ports in question. More...

#include <Port_Activator_T.h>

Inheritance diagram for CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >:

Inheritance graph
[legend]
Collaboration diagram for CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >:

Collaboration graph
[legend]

List of all members.

Public Types

typedef SERV SERVANT

Public Member Functions

 Port_Activator_T (const char *oid, const char *name, Port_Activator::Type t, EXEC *e, CONTEXT *c, COMP_SERV *cs)
PortableServer::Servant activate (const PortableServer::ObjectId &oid)
void deactivate (const PortableServer::Servant servant)

Private Attributes

EXEC * executor_
 The executor.
CONTEXT * context_
 Context classes.
COMP_SERV * comp_serv_
 Component servant which created <this>.


Detailed Description

template<typename SERV, typename EXEC, typename CONTEXT, typename COMP_SERV>
class CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >

Concrete class that implements the strategy for creating the right type of servant for the ports in question.

This class is parametrized by the servant type for the port, the executor type for the port, the context for the component and the component servant which instantiated this class within the container.


Member Typedef Documentation

template<typename SERV, typename EXEC, typename CONTEXT, typename COMP_SERV>
typedef SERV CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >::SERVANT


Constructor & Destructor Documentation

template<typename SERV, typename EXEC, typename CONTEXT, typename COMP_SERV>
CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >::Port_Activator_T ( const char *  oid,
const char *  name,
Port_Activator::Type  t,
EXEC *  e,
CONTEXT *  c,
COMP_SERV *  cs 
) [inline]


Member Function Documentation

template<typename SERV, typename EXEC, typename CONTEXT, typename COMP_SERV>
PortableServer::Servant CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >::activate ( const PortableServer::ObjectId oid  )  [inline, virtual]

Template method from the base class, please see the base class documentation for details.

Implements CIAO::Port_Activator.

template<typename SERV, typename EXEC, typename CONTEXT, typename COMP_SERV>
void CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >::deactivate ( const PortableServer::Servant  servant  )  [inline, virtual]

Implements CIAO::Port_Activator.


Member Data Documentation

template<typename SERV, typename EXEC, typename CONTEXT, typename COMP_SERV>
EXEC* CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >::executor_ [private]

The executor.

template<typename SERV, typename EXEC, typename CONTEXT, typename COMP_SERV>
CONTEXT* CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >::context_ [private]

Context classes.

template<typename SERV, typename EXEC, typename CONTEXT, typename COMP_SERV>
COMP_SERV* CIAO::Port_Activator_T< SERV, EXEC, CONTEXT, COMP_SERV >::comp_serv_ [private]

Component servant which created <this>.


The documentation for this class was generated from the following files:

Generated on Thu Nov 27 06:08:28 2008 for CIAO by  doxygen 1.5.6