Zivid C++ API 2.14.0+e4a0c4a9-1
|
Contains information about the compute device used by Zivid::Application. More...
#include <Zivid/ComputeDevice.h>
Public Member Functions | |
ZIVID_CORE_EXPORT | ComputeDevice () |
Constructor. | |
ZIVID_CORE_EXPORT | ~ComputeDevice () |
Destructor. | |
ZIVID_CORE_EXPORT | ComputeDevice (const ComputeDevice &other) |
Copy constructor. | |
ZIVID_CORE_EXPORT ComputeDevice & | operator= (const ComputeDevice &other) |
Assignment operator. | |
ZIVID_CORE_EXPORT | ComputeDevice (ComputeDevice &&other) noexcept |
Move constructor. | |
ZIVID_CORE_EXPORT ComputeDevice & | operator= (ComputeDevice &&other) noexcept |
Move assignment operator. | |
ZIVID_CORE_EXPORT std::string | model () const |
Returns the model name of this compute device. | |
ZIVID_CORE_EXPORT std::string | vendor () const |
Returns the vendor of this compute device. | |
ZIVID_CORE_EXPORT std::string | toString () const |
Get string representation of the compute device. | |
Contains information about the compute device used by Zivid::Application.
ZIVID_CORE_EXPORT Zivid::ComputeDevice::ComputeDevice | ( | ) |
Constructor.
ZIVID_CORE_EXPORT Zivid::ComputeDevice::~ComputeDevice | ( | ) |
Destructor.
ZIVID_CORE_EXPORT Zivid::ComputeDevice::ComputeDevice | ( | const ComputeDevice & | other | ) |
Copy constructor.
|
noexcept |
Move constructor.
ZIVID_CORE_EXPORT std::string Zivid::ComputeDevice::model | ( | ) | const |
Returns the model name of this compute device.
|
noexcept |
Move assignment operator.
ZIVID_CORE_EXPORT ComputeDevice & Zivid::ComputeDevice::operator= | ( | const ComputeDevice & | other | ) |
Assignment operator.
ZIVID_CORE_EXPORT std::string Zivid::ComputeDevice::toString | ( | ) | const |
Get string representation of the compute device.
ZIVID_CORE_EXPORT std::string Zivid::ComputeDevice::vendor | ( | ) | const |
Returns the vendor of this compute device.