Also use Objects as part of an operation but as a result don't generate Any operation...
[ACE_TAO.git] / ACE / tests / DLL_Test.h
blob3165b3075e445f079053c4e1a866fa95b67307fd
1 // -*- C++ -*-
3 // ================================================================
4 /**
5 * @file DLL_Test.h
7 * @author Kirthika Parameswaran <kirthika@cs.wustl.edu>
8 */
9 // ================================================================
12 #ifndef ACE_TESTS_DLL_TEST_H
13 #define ACE_TESTS_DLL_TEST_H
15 #include "DLL_Test_Parent.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include "ace/Log_Msg.h"
22 #include "ace/Trace.h"
23 #include "ace/svc_export.h"
25 /**
26 * @class Hello
28 * @brief Define the interface used by the DLL_Test
30 class Hello
32 public:
33 /// Destructor
34 virtual ~Hello (void)
36 ACE_TRACE ("Hello::~Hello");
39 /**
40 * @name Methods invoked by the test
42 * The test invokes four methods, a non-virtual method and a three virtual
43 * methods implemented in the shared library.
45 //@{
46 void say_hello (void)
48 ACE_DEBUG ((LM_DEBUG,
49 ACE_TEXT ("Hello\n")));
52 virtual void say_next (void) = 0;
54 virtual ACE_TCHAR *new_info (void) = 0;
56 virtual ACE_TCHAR *malloc_info (void) = 0;
57 //@}
61 // Used to test dynamic_cast<> in shared libraries.
62 class ACE_Svc_Export Child : public Parent
64 public:
65 Child (void);
67 virtual ~Child (void);
69 virtual void test (void);
73 #endif /* ACE_TESTS_DLL_TEST_H */