Use =default for skeleton copy constructor
[ACE_TAO.git] / ACE / tests / DLL_Test.h
blobfaf6865751208888a1dc5cc5102422860c8279ca
1 // -*- C++ -*-
3 // ================================================================
4 /**
5 * @file DLL_Test.h
7 * @author Kirthika Parameswaran <kirthika@cs.wustl.edu>
8 */
9 // ================================================================
11 #ifndef ACE_TESTS_DLL_TEST_H
12 #define ACE_TESTS_DLL_TEST_H
14 #include "DLL_Test_Parent.h"
16 #if !defined (ACE_LACKS_PRAGMA_ONCE)
17 # pragma once
18 #endif /* ACE_LACKS_PRAGMA_ONCE */
20 #include "ace/Log_Msg.h"
21 #include "ace/Trace.h"
22 #include "ace/svc_export.h"
24 /**
25 * @class Hello
27 * @brief Define the interface used by the DLL_Test
29 class Hello
31 public:
32 /// Destructor
33 virtual ~Hello ()
35 ACE_TRACE ("Hello::~Hello");
38 /**
39 * @name Methods invoked by the test
41 * The test invokes four methods, a non-virtual method and a three virtual
42 * methods implemented in the shared library.
44 //@{
45 void say_hello ()
47 ACE_DEBUG ((LM_DEBUG,
48 ACE_TEXT ("Hello\n")));
51 virtual void say_next () = 0;
53 virtual ACE_TCHAR *new_info () = 0;
55 virtual ACE_TCHAR *malloc_info () = 0;
56 //@}
59 // Used to test dynamic_cast<> in shared libraries.
60 class ACE_Svc_Export Child : public Parent
62 public:
63 Child ();
65 virtual ~Child ();
67 virtual void test ();
70 #endif /* ACE_TESTS_DLL_TEST_H */