Zivid  1.0.1+3607.8a7510c4
Zivid API
ComputeDevice.h
Go to the documentation of this file.
1 /*[
2  * This file is part of the Zivid 3D Camera API
3  *
4  * Copyright 2015-2018 (C) Zivid Labs. All rights reserved.
5  * Contact info@zividlabs.com or see http://www.zividlabs.com
6  *
7  * This code is proprietary and confidential.
8  * Unauthorized copying of this file, via any medium is strictly prohibited.
9 ]*/
10 
11 #pragma once
12 
15 
16 #include "APIExport.h"
17 #include <memory>
18 
19 namespace Zivid
20 {
21  class ComputeDeviceImpl;
22 
29  {
30  private:
31  std::unique_ptr<class ComputeDeviceImpl> m_impl;
32 
33  public:
35  ZIVID_COMMON_COMPUTE ComputeDevice();
36 #ifndef DOXYGEN_SHOULD_SKIP_THIS
37  ZIVID_COMMON_COMPUTE explicit ComputeDevice(std::unique_ptr<class ComputeDeviceImpl> impl);
38 #endif
39  ZIVID_COMMON_COMPUTE virtual ~ComputeDevice();
42  ZIVID_COMMON_COMPUTE ComputeDevice(const ComputeDevice& other);
44  ZIVID_COMMON_COMPUTE ComputeDevice &operator=(const ComputeDevice& other);
46  ZIVID_COMMON_COMPUTE ComputeDevice(ComputeDevice&& other) noexcept;
48  ZIVID_COMMON_COMPUTE ComputeDevice &operator=(ComputeDevice&& other) noexcept;
49 #ifndef DOXYGEN_SHOULD_SKIP_THIS
50  ZIVID_COMMON_COMPUTE ComputeDeviceImpl &getImpl();
51  ZIVID_COMMON_COMPUTE const ComputeDeviceImpl &getImpl() const;
52 #endif
53  };
54 }
ZIVID_COMMON_COMPUTE ComputeDevice & operator=(const ComputeDevice &other)
Assignment operator
ZIVID_COMMON_COMPUTE ComputeDevice()
Constructor
Definition: Application.h:19
Definitions for export of DLL interfaces
A Compute device on which to allocate a device point cloud.
Definition: ComputeDevice.h:28
virtual ZIVID_COMMON_COMPUTE ~ComputeDevice()
Destructor