=default for generated implementation copy ctor
[ACE_TAO.git] / TAO / tests / DLL_ORB / Test_Client_Module.h
blobdd3b144c3b597f2d8c3a36d38ced11f2c09b2b65
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Test_Client_Module.h
7 * @author Ossama Othman <ossama@uci.edu>
8 */
9 //=============================================================================
11 #ifndef TEST_MODULE_H
12 #define TEST_MODULE_H
14 #include /**/ "ace/pre.h"
16 #include "Test_Client_Module_Export.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "ace/Task.h"
23 #include "ace/Service_Config.h"
25 #include "TestC.h"
27 /**
28 * @class Test_Client_Module
30 * @brief The shared object that is instantiated when the client-side
31 * test module/library is dynamically loaded.
33 * This class invokes an operation on a "remote" CORBA object.
36 class Test_Client_Module_Export Test_Client_Module : public ACE_Task_Base
38 public:
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 to handle deferred processing.
46 virtual int svc ();
48 private:
49 /// Reference to the ORB.
50 CORBA::ORB_var orb_;
52 /// Reference to the test object.
53 Test_var test_;
56 ACE_FACTORY_DECLARE (Test_Client_Module, Test_Client_Module)
58 #include /**/ "ace/post.h"
60 #endif /* TEST_MODULE_H */