#include <Dynamic_Service_Base.h>
Public Member Functions | |
void | dump (void) const |
Dump the current static of the object. | |
Protected Member Functions | |
ACE_Dynamic_Service_Base (void) | |
No need to create, or assign instances of this class. | |
~ACE_Dynamic_Service_Base (void) | |
const ACE_Dynamic_Service_Base & | operator= (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_Type * | find_i (const ACE_Service_Gestalt *&repo, const ACE_TCHAR *name, bool no_global) |
Friends | |
class | ACE_Dynamic_Service_Dependency |
Factors out common code shared by all ACE_Dynamic_Service instantiations, this avoid code bloat.
ACE_Dynamic_Service_Base::ACE_Dynamic_Service_Base | ( | void | ) | [protected] |
No need to create, or assign instances of this class.
ACE_Dynamic_Service_Base::~ACE_Dynamic_Service_Base | ( | void | ) | [protected] |
void ACE_Dynamic_Service_Base::dump | ( | void | ) | const |
Dump the current static of the object.
const ACE_Service_Type * ACE_Dynamic_Service_Base::find_i | ( | const ACE_Service_Gestalt *& | repo, | |
const ACE_TCHAR * | name, | |||
bool | no_global | |||
) | [static, private] |
Implement the service search policy, i.e. "look for the service first locally and then globally"
void * ACE_Dynamic_Service_Base::instance | ( | const ACE_Service_Gestalt * | repo, | |
const ACE_TCHAR * | name, | |||
bool | no_global = false | |||
) | [static, protected] |
Reimplemented in ACE_Dynamic_Service< TYPE >.
void * ACE_Dynamic_Service_Base::instance | ( | const ACE_TCHAR * | name, | |
bool | no_global = false | |||
) | [static, protected] |
Perform the default repo search, but optionally skip searching the global repo.
Reimplemented in ACE_Dynamic_Service< TYPE >.
const ACE_Dynamic_Service_Base& ACE_Dynamic_Service_Base::operator= | ( | const ACE_Dynamic_Service_Base & | ) | [protected] |
friend class ACE_Dynamic_Service_Dependency [friend] |
The dependency declaration class needs access to the service search policy, implemented by find_i()