ACE  6.1.0
Static Public Member Functions | Private Member Functions
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 >
TYPE * ACE_Dynamic_Service< TYPE >::instance ( const ACE_TCHAR name) [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 
) [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 
) [static]
template<class TYPE >
TYPE * ACE_Dynamic_Service< TYPE >::instance ( const ACE_Service_Gestalt repo,
const ACE_TCHAR name,
bool  no_global 
) [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:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines