C++ API Reference for Intel® Data Analytics Acceleration Library 2019 Update 5

host_app.h
1 /* file: host_app.h */
2 /*******************************************************************************
3 * Copyright 2014-2019 Intel Corporation.
4 *
5 * This software and the related documents are Intel copyrighted materials, and
6 * your use of them is governed by the express license under which they were
7 * provided to you (License). Unless the License provides otherwise, you may not
8 * use, modify, copy, publish, distribute, disclose or transmit this software or
9 * the related documents without Intel's prior written permission.
10 *
11 * This software and the related documents are provided as is, with no express
12 * or implied warranties, other than those that are expressly stated in the
13 * License.
14 *******************************************************************************/
15 
16 /*
17 //++
18 // Interface of host application class used by the library
19 //--
20 */
21 
22 #ifndef __DAAL_HOST_APP_H__
23 #define __DAAL_HOST_APP_H__
24 
25 #include "services/daal_defines.h"
26 #include "services/base.h"
27 #include "services/daal_shared_ptr.h"
28 
29 namespace daal
30 {
31 namespace services
32 {
33 
37 namespace interface1
38 {
39 
45 class DAAL_EXPORT HostAppIface : public Base
46 {
47 public:
48  DAAL_NEW_DELETE();
49  HostAppIface();
50  virtual ~HostAppIface();
56  virtual bool isCancelled() = 0;
57 
58 private:
59  Base* _impl;
60 };
61 typedef services::SharedPtr<HostAppIface> HostAppIfacePtr;
62 
63 } // namespace interface1
64 using interface1::HostAppIface;
65 using interface1::HostAppIfacePtr;
66 
67 }
68 }
69 #endif //__DAAL_HOST_APP_H__
daal
Definition: algorithm_base_common.h:31
daal_defines.h
daal::services::interface1::HostAppIface
Abstract class which defines callback interface for the host application of this library to enable su...
Definition: host_app.h:45
daal::Base
Base class for Intel(R) Data Analytics Acceleration Library objects
Definition: base.h:39

For more complete information about compiler optimizations, see our Optimization Notice.