ACE  6.4.1
Static Public Member Functions | Private Member Functions | List of all members
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]

Static Public Member Functions

static TYPE * instance (const ACE_TCHAR *name)
 Return instance using name to search the Service_Repository. More...
 
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 &)
 

Additional Inherited Members

- Public Member Functions inherited from ACE_Dynamic_Service_Base
void dump (void) const
 Dump the current static of the object. More...
 
- Protected Member Functions inherited from ACE_Dynamic_Service_Base
 ACE_Dynamic_Service_Base (void)
 No need to create, or assign instances of this class. More...
 
 ~ACE_Dynamic_Service_Base (void)
 
const ACE_Dynamic_Service_Baseoperator= (const ACE_Dynamic_Service_Base &)
 
- Static Protected Member Functions inherited from ACE_Dynamic_Service_Base
static void * instance (const ACE_TCHAR *name, bool no_global=false)
 
static void * instance (const ACE_Service_Gestalt *repo, const ACE_TCHAR *name, bool no_global=false)
 

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
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
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: