ACE_Dynamic_Service< TYPE > Class Template Reference

Provides a general interface to retrieve arbitrary objects from the ACE service repository. More...

#include <Dynamic_Service.h>

Inheritance diagram for ACE_Dynamic_Service< TYPE >:

Inheritance graph
[legend]
Collaboration diagram for ACE_Dynamic_Service< TYPE >:

Collaboration graph
[legend]

List of all members.

Static Public Member Functions

static TYPE * instance (const ACE_TCHAR *name)
 Return instance using name to search the Service_Repository.
static TYPE * instance (const ACE_TCHAR *name, bool no_global)
static TYPE * instance (const ACE_Service_Gestalt *repo, const ACE_TCHAR *name)
static TYPE * instance (const ACE_Service_Gestalt *repo, const ACE_TCHAR *name, bool no_global)

Private Member Functions

 ACE_Dynamic_Service ()
 ACE_Dynamic_Service (const ACE_Dynamic_Service &)
ACE_Dynamic_Serviceoperator= (const ACE_Dynamic_Service &)


Detailed Description

template<class TYPE>
class ACE_Dynamic_Service< TYPE >

Provides a general interface to retrieve arbitrary objects from the ACE service repository.

Uses "name" for lookup in the ACE service repository. Obtains the object and returns it as the appropriate type.


Constructor & Destructor Documentation

template<class TYPE>
ACE_Dynamic_Service< TYPE >::ACE_Dynamic_Service (  )  [private]

template<class TYPE>
ACE_Dynamic_Service< TYPE >::ACE_Dynamic_Service ( const ACE_Dynamic_Service< TYPE > &   )  [private]


Member Function Documentation

template<class TYPE>
ACE_BEGIN_VERSIONED_NAMESPACE_DECL TYPE * ACE_Dynamic_Service< TYPE >::instance ( const ACE_TCHAR name  )  [inline, static]

Return instance using name to search the Service_Repository.

template<class TYPE>
TYPE * ACE_Dynamic_Service< TYPE >::instance ( const ACE_TCHAR name,
bool  no_global 
) [inline, static]

Perform the default repo search, but optionally skip searching the global repo.

Reimplemented from ACE_Dynamic_Service_Base.

template<class TYPE>
TYPE * ACE_Dynamic_Service< TYPE >::instance ( const ACE_Service_Gestalt repo,
const ACE_TCHAR name 
) [inline, static]

template<class TYPE>
TYPE * ACE_Dynamic_Service< TYPE >::instance ( const ACE_Service_Gestalt repo,
const ACE_TCHAR name,
bool  no_global 
) [inline, static]

Reimplemented from ACE_Dynamic_Service_Base.

template<class TYPE>
ACE_Dynamic_Service& ACE_Dynamic_Service< TYPE >::operator= ( const ACE_Dynamic_Service< TYPE > &   )  [private]


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

Generated on Wed Apr 23 02:38:59 2008 for ACE by  doxygen 1.5.5