ACE 8.0.5
Loading...
Searching...
No Matches
ACE_Dynamic_Service_Base Class Reference

Base class for all ACE_Dynamic_Service instantiations. More...

#include <Dynamic_Service_Base.h>

Inheritance diagram for ACE_Dynamic_Service_Base:

Public Member Functions

void dump () const
 Dump the current static of the object.

Protected Member Functions

 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

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)

Static Private Member Functions

static const ACE_Service_Typefind_i (const ACE_Service_Gestalt *&repo, const ACE_TCHAR *name, bool no_global)

Friends

class ACE_Dynamic_Service_Dependency

Detailed Description

Base class for all ACE_Dynamic_Service instantiations.

Factors out common code shared by all ACE_Dynamic_Service instantiations, this avoid code bloat.

Constructor & Destructor Documentation

◆ ACE_Dynamic_Service_Base()

ACE_Dynamic_Service_Base::ACE_Dynamic_Service_Base ( )
protected

No need to create, or assign instances of this class.

◆ ~ACE_Dynamic_Service_Base()

ACE_Dynamic_Service_Base::~ACE_Dynamic_Service_Base ( )
protected

Member Function Documentation

◆ dump()

void ACE_Dynamic_Service_Base::dump ( ) const

Dump the current static of the object.

◆ find_i()

const ACE_Service_Type * ACE_Dynamic_Service_Base::find_i ( const ACE_Service_Gestalt *& repo,
const ACE_TCHAR * name,
bool no_global )
staticprivate

Implement the service search policy, i.e. "look for the service first locally and then globally"

◆ instance() [1/2]

void * ACE_Dynamic_Service_Base::instance ( const ACE_Service_Gestalt * repo,
const ACE_TCHAR * name,
bool no_global = false )
staticprotected

◆ instance() [2/2]

void * ACE_Dynamic_Service_Base::instance ( const ACE_TCHAR * name,
bool no_global = false )
staticprotected

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

◆ operator=()

const ACE_Dynamic_Service_Base & ACE_Dynamic_Service_Base::operator= ( const ACE_Dynamic_Service_Base & )
protected

◆ ACE_Dynamic_Service_Dependency

friend class ACE_Dynamic_Service_Dependency
friend

The dependency declaration class needs access to the service search policy, implemented by find_i()


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