#include <Dynamic_Service.h>
Inheritance diagram for ACE_Dynamic_Service< TYPE >:
Static Public Member Functions | |
TYPE * | instance (const ACE_TCHAR *name) |
Return instance using name to search the Service_Repository. | |
TYPE * | instance (const ACE_TCHAR *name, bool no_global) |
Perform the default repo search, but optionally skip searching the global repo. | |
TYPE * | instance (const ACE_Service_Gestalt *repo, const ACE_TCHAR *name) |
Return instance using name to search the specific repo instance. | |
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.
|
|
|
|
|
Reimplemented from ACE_Dynamic_Service_Base. Definition at line 51 of file Dynamic_Service.cpp. References ACE_TCHAR, and 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 } |
|
Return instance using name to search the specific repo instance.
Reimplemented from ACE_Dynamic_Service_Base. Definition at line 41 of file Dynamic_Service.cpp. References ACE_TCHAR, and 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 } |
|
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_TCHAR, and 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 } |
|
Return instance using name to search the Service_Repository.
Reimplemented from ACE_Dynamic_Service_Base. Definition at line 22 of file Dynamic_Service.cpp. References ACE_TCHAR, and ACE_Dynamic_Service_Base::instance().
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 } |
|
|