ACE 8.0.0
Loading...
Searching...
No Matches
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.
 
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 ()=delete
 
 ACE_Dynamic_Service (const ACE_Dynamic_Service &)=delete
 
ACE_Dynamic_Serviceoperator= (const ACE_Dynamic_Service &)=delete
 

Additional Inherited Members

- Public Member Functions inherited from ACE_Dynamic_Service_Base
void dump () const
 Dump the current static of the object.
 
- Protected Member Functions inherited from ACE_Dynamic_Service_Base
 ACE_Dynamic_Service_Base ()
 No need to create, or assign instances of this class.
 
 ~ACE_Dynamic_Service_Base ()
 
const ACE_Dynamic_Service_Baseoperator= (const ACE_Dynamic_Service_Base &)
 
- Static Protected Member Functions inherited from ACE_Dynamic_Service_Base
static voidinstance (const ACE_TCHAR *name, bool no_global=false)
 
static voidinstance (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

◆ ACE_Dynamic_Service() [1/2]

template<class TYPE >
ACE_Dynamic_Service< TYPE >::ACE_Dynamic_Service ( )
privatedelete

◆ ACE_Dynamic_Service() [2/2]

template<class TYPE >
ACE_Dynamic_Service< TYPE >::ACE_Dynamic_Service ( const ACE_Dynamic_Service< TYPE > & )
privatedelete

Member Function Documentation

◆ instance() [1/4]

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

◆ instance() [2/4]

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

◆ instance() [3/4]

template<class TYPE >
TYPE * ACE_Dynamic_Service< TYPE >::instance ( const ACE_TCHAR * name)
static

Return instance using name to search the Service_Repository.

◆ instance() [4/4]

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

◆ operator=()

template<class TYPE >
ACE_Dynamic_Service & ACE_Dynamic_Service< TYPE >::operator= ( const ACE_Dynamic_Service< TYPE > & )
privatedelete

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