ACE_DLL_Strategy< SVC_HANDLER > Class Template ReferenceDefines the interface for specifying a creation strategy for a SVC_HANDLER based on dynamic linking of the SVC_HANDLER. More...
Inheritance diagram for ACE_DLL_Strategy< SVC_HANDLER >:
![]()
Collaboration diagram for ACE_DLL_Strategy< SVC_HANDLER >:
![]()
Detailed Descriptiontemplate<class SVC_HANDLER>
Defines the interface for specifying a creation strategy for a SVC_HANDLER based on dynamic linking of the SVC_HANDLER. |
typedef ACE_Creation_Strategy<SVC_HANDLER> ACE_DLL_Strategy< SVC_HANDLER >::base_type |
typedef ACE_Creation_Strategy<SVC_HANDLER> ACE_DLL_Strategy< SVC_HANDLER >::inherited [protected] |
ACE_INLINE ACE_DLL_Strategy< SVC_HANDLER >::ACE_DLL_Strategy | ( | void | ) | [inline] |
"Do-nothing" constructor.
ACE_INLINE ACE_DLL_Strategy< SVC_HANDLER >::ACE_DLL_Strategy | ( | const ACE_TCHAR | dll_name[], | |
const ACE_TCHAR | factory_function[], | |||
const ACE_TCHAR | svc_name[], | |||
ACE_Service_Repository * | svc_rep, | |||
ACE_Thread_Manager * | thr_mgr = 0 | |||
) | [inline] |
Initialize the DLL strategy based upon the service's DLL information contained in the <svc_dll_info> string.
int ACE_DLL_Strategy< SVC_HANDLER >::open | ( | const ACE_TCHAR | dll_name[], | |
const ACE_TCHAR | factory_function[], | |||
const ACE_TCHAR | svc_name[], | |||
ACE_Service_Repository * | svc_rep, | |||
ACE_Thread_Manager * | thr_mgr = 0 | |||
) | [inline] |
Initialize the DLL strategy based upon the service's DLL information contained in the <svc_dll_info> string.
int ACE_DLL_Strategy< SVC_HANDLER >::make_svc_handler | ( | SVC_HANDLER *& | sh | ) | [inline, virtual] |
Create a SVC_HANDLER by dynamically linking it from a DLL. Returns -1 on failure, else 0.
Reimplemented from ACE_Creation_Strategy< SVC_HANDLER >.
void ACE_DLL_Strategy< SVC_HANDLER >::dump | ( | void | ) | const [inline] |
ACE_DLL_Strategy< SVC_HANDLER >::ACE_ALLOC_HOOK_DECLARE |
ACE_TCHAR ACE_DLL_Strategy< SVC_HANDLER >::dll_name_[MAXPATHLEN+1] [protected] |
Name of the DLL to dynamically link.
ACE_TCHAR ACE_DLL_Strategy< SVC_HANDLER >::factory_function_[MAXPATHLEN+1] [protected] |
Name of the factory function in the shared library to use to obtain a pointer to the new SVC_HANDLER.
ACE_TCHAR ACE_DLL_Strategy< SVC_HANDLER >::svc_name_[MAXNAMELEN+1] [protected] |
Name of the service.
ACE_Service_Repository* ACE_DLL_Strategy< SVC_HANDLER >::svc_rep_ [protected] |
Pointer to the <Service_Repository>.