=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / ORB_Local_Config / Service_Dependency / Service_Config_DLL.h
blob14dc318497e95c51656a632edbfeda4d84c005b9
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Service_Config_DLL.h
7 * @author Ossama Othman <ossama@uci.edu>
8 */
9 //=============================================================================
11 #ifndef SERVICE_CONFIG_DLL_H
12 #define SERVICE_CONFIG_DLL_H
14 #include /**/ "ace/pre.h"
16 #include "Service_Config_DLL_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "ace/Task.h"
24 /**
25 * @class Service_Config_DLL
27 * @brief The Service_Config_DLL that is instantiated when the
28 * client-side test module/library is dynamically loaded.
30 * This class is the implementation used for all service instances
31 * (i.e. those declared using the ACE_FACTORY_* macros).
33 class Service_Config_DLL_Export Service_Config_DLL : public ACE_Task_Base
35 public:
36 /// Constructor.
37 Service_Config_DLL ();
39 /// Initializes object when dynamic linking occurs.
40 virtual int init (int argc, ACE_TCHAR *argv[]);
42 /// Terminates object when dynamic unlinking occurs.
43 virtual int fini ();
45 /// Run by a daemon thread.
46 /**
47 * Each thread will invoke the Service Configurator via this
48 * method unless the object is the "FINAL" object.
50 virtual int svc ();
52 private:
53 /// Directives to be passed to be processed by the Service
54 /// Configurator in separate threads.
55 ACE_TCHAR directive_[2][BUFSIZ];
59 ACE_FACTORY_DECLARE (Service_Config_DLL, Service_Config_DLL)
62 #include /**/ "ace/post.h"
64 #endif /* SERVICE_CONFIG_DLL_H */