Make x.0.10 publicly available
[ACE_TAO.git] / ACE / tests / DLL_Test_Parent.h
blobbb4cf4e4e79558f088ce245346a8c8047b38581a
1 // -*- C++ -*-
3 // ================================================================
4 /**
5 * @file DLL_Test_Parent.h
7 * @author Kirthika Parameswaran <kirthika@cs.wustl.edu>
8 * @author Ossama Othman <ossama@dre.vanderbilt.edu>
9 */
10 // ================================================================
12 #ifndef ACE_TESTS_DLL_TEST_PARENT_H
13 #define ACE_TESTS_DLL_TEST_PARENT_H
15 #include "DLL_Test_Parent_Export.h"
17 #if !defined (ACE_LACKS_PRAGMA_ONCE)
18 # pragma once
19 #endif /* ACE_LACKS_PRAGMA_ONCE */
21 #include <cstdint>
23 class DLL_Test_Parent_Export Parent
25 public:
26 virtual ~Parent ();
28 virtual void test ();
31 class DLL_Test_Parent_Export Data
33 public:
34 Data () = default;
35 Data (const Data&) = default;
36 Data (Data&&) = default;
37 Data& operator= (const Data&) = default;
38 Data& operator= (Data&&) = default;
39 virtual ~Data();
40 private:
41 int8_t i {};
44 class DLL_Test_Parent_Export Base
46 public:
47 virtual void _raise () const;
48 Base ();
49 virtual ~Base() = default;
52 class DLL_Test_Parent_Export Derived : public Base
54 public:
55 Derived ();
56 static Base* _alloc ();
57 void _raise () const override;
58 ~Derived () override = default;
61 #endif /* ACE_TESTS_DLL_TEST_PARENT_H */