Turi Create  4.0
ipc_object_base.hpp
1 /* Copyright © 2017 Apple Inc. All rights reserved.
2  *
3  * Use of this source code is governed by a BSD-3-clause license that can
4  * be found in the LICENSE.txt file or at https://opensource.org/licenses/BSD-3-Clause
5  */
6 #ifndef CPPIPC_IPC_OBJECT_BASE_HPP
7 #define CPPIPC_IPC_OBJECT_BASE_HPP
8 #include <memory>
9 #include <core/export.hpp>
10 /**
11  * All exported base classes must inherit from this class.
12  */
13 namespace cppipc {
14 
15 class EXPORT ipc_object_base: public std::enable_shared_from_this<ipc_object_base> {
16  public:
17  virtual ~ipc_object_base();
18 };
19 
20 } // cppipc
21 
22 
23 
24 #endif