#include <Dynamic_Service.h>
Inheritance diagram for ACE_Dynamic_Service< TYPE >:
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_Service & | operator= (const ACE_Dynamic_Service &) |
Uses "name" for lookup in the ACE service repository. Obtains the object and returns it as the appropriate type.
Definition at line 42 of file Dynamic_Service.h.
ACE_Dynamic_Service< TYPE >::ACE_Dynamic_Service | ( | ) | [private] |
ACE_Dynamic_Service< TYPE >::ACE_Dynamic_Service | ( | const ACE_Dynamic_Service< TYPE > & | ) | [private] |
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.
Definition at line 51 of file Dynamic_Service.cpp.
References ACE_Dynamic_Service_Base::instance().
00054 { 00055 ACE_Service_Object * svc_obj = 00056 static_cast<ACE_Service_Object *> 00057 (ACE_Dynamic_Service_Base::instance (conf, name, no_global)); 00058 return dynamic_cast<TYPE *> (svc_obj); 00059 }
TYPE * ACE_Dynamic_Service< TYPE >::instance | ( | const ACE_Service_Gestalt * | repo, | |
const ACE_TCHAR * | name | |||
) | [static] |
Definition at line 41 of file Dynamic_Service.cpp.
References ACE_Dynamic_Service_Base::instance().
00043 { 00044 ACE_Service_Object * svc_obj = 00045 static_cast<ACE_Service_Object *> 00046 (ACE_Dynamic_Service_Base::instance (conf, name, false)); 00047 return dynamic_cast<TYPE *> (svc_obj); 00048 }
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.
Definition at line 31 of file Dynamic_Service.cpp.
References ACE_Dynamic_Service_Base::instance().
00033 { 00034 ACE_Service_Object * svc_obj = 00035 static_cast<ACE_Service_Object *> 00036 (ACE_Dynamic_Service_Base::instance (name, no_global)); 00037 return dynamic_cast<TYPE *> (svc_obj); 00038 }
ACE_BEGIN_VERSIONED_NAMESPACE_DECL TYPE * ACE_Dynamic_Service< TYPE >::instance | ( | const ACE_TCHAR * | name | ) | [static] |
Return instance using name to search the Service_Repository.
Definition at line 22 of file Dynamic_Service.cpp.
References ACE_Dynamic_Service_Base::instance().
Referenced by ACE::Monitor_Control::Monitor_Base::add_to_registry().
00023 { 00024 ACE_Service_Object * svc_obj = 00025 static_cast<ACE_Service_Object *> 00026 (ACE_Dynamic_Service_Base::instance (name,false)); 00027 return dynamic_cast<TYPE *> (svc_obj); 00028 }
ACE_Dynamic_Service& ACE_Dynamic_Service< TYPE >::operator= | ( | const ACE_Dynamic_Service< TYPE > & | ) | [private] |