C++ API Reference for Intel® Data Analytics Acceleration Library 2020 Update 1

host_app.h
1 /* file: host_app.h */
2 /*******************************************************************************
3 * Copyright 2014-2020 Intel Corporation
4 *
5 * Licensed under the Apache License, Version 2.0 (the "License");
6 * you may not use this file except in compliance with the License.
7 * You may obtain a copy of the License at
8 *
9 * http://www.apache.org/licenses/LICENSE-2.0
10 *
11 * Unless required by applicable law or agreed to in writing, software
12 * distributed under the License is distributed on an "AS IS" BASIS,
13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14 * See the License for the specific language governing permissions and
15 * limitations under the License.
16 *******************************************************************************/
17 
18 /*
19 //++
20 // Interface of host application class used by the library
21 //--
22 */
23 
24 #ifndef __DAAL_HOST_APP_H__
25 #define __DAAL_HOST_APP_H__
26 
27 #include "services/daal_defines.h"
28 #include "services/base.h"
29 #include "services/daal_shared_ptr.h"
30 
31 namespace daal
32 {
33 namespace services
34 {
35 
39 namespace interface1
40 {
41 
47 class DAAL_EXPORT HostAppIface : public Base
48 {
49 public:
50  DAAL_NEW_DELETE();
51  HostAppIface();
52  virtual ~HostAppIface();
58  virtual bool isCancelled() = 0;
59 
60 private:
61  Base* _impl;
62 };
63 typedef services::SharedPtr<HostAppIface> HostAppIfacePtr;
64 
65 } // namespace interface1
66 using interface1::HostAppIface;
67 using interface1::HostAppIfacePtr;
68 
69 }
70 }
71 #endif //__DAAL_HOST_APP_H__
daal::Base
Base class for Intel(R) Data Analytics Acceleration Library objects
Definition: base.h:41
daal::services::interface1::HostAppIface
Abstract class which defines callback interface for the host application of this library to enable su...
Definition: host_app.h:47
daal_defines.h

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