#include <Dynamic_Service.h>
Inheritance diagram for ACE_Dynamic_Service:


Static Public Methods | |
| TYPE * | instance (const ACE_TCHAR *name) |
| Return instance using <name> to search the Service_Repository. More... | |
Uses "name" for lookup in the ACE service repository. Obtains the object and returns it as the appropriate type.
Definition at line 39 of file Dynamic_Service.h.
|
||||||||||
|
Return instance using <name> to search the Service_Repository.
Reimplemented from ACE_Dynamic_Service_Base. Definition at line 20 of file Dynamic_Service.cpp. References ACE_TCHAR, and ACE_Dynamic_Service_Base::instance.
00021 {
00022 ACE_Service_Object *svc_obj =
00023 ACE_static_cast (ACE_Service_Object *, ACE_Dynamic_Service_Base::instance (name));
00024 return ACE_dynamic_cast (TYPE *, svc_obj);
00025 }
|
1.2.14 written by Dimitri van Heesch,
© 1997-2002