Zivid C++ API 2.14.0+e4a0c4a9-1
Zivid::ComputeDevice Class Reference

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 ComputeDeviceoperator= (const ComputeDevice &other)
 Assignment operator.
 
ZIVID_CORE_EXPORT ComputeDevice (ComputeDevice &&other) noexcept
 Move constructor.
 
ZIVID_CORE_EXPORT ComputeDeviceoperator= (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.
 

Detailed Description

Contains information about the compute device used by Zivid::Application.

Constructor & Destructor Documentation

◆ ComputeDevice() [1/3]

ZIVID_CORE_EXPORT Zivid::ComputeDevice::ComputeDevice ( )

Constructor.

◆ ~ComputeDevice()

ZIVID_CORE_EXPORT Zivid::ComputeDevice::~ComputeDevice ( )

Destructor.

◆ ComputeDevice() [2/3]

ZIVID_CORE_EXPORT Zivid::ComputeDevice::ComputeDevice ( const ComputeDevice & other)

Copy constructor.

◆ ComputeDevice() [3/3]

ZIVID_CORE_EXPORT Zivid::ComputeDevice::ComputeDevice ( ComputeDevice && other)
noexcept

Move constructor.

Member Function Documentation

◆ model()

ZIVID_CORE_EXPORT std::string Zivid::ComputeDevice::model ( ) const

Returns the model name of this compute device.

◆ operator=() [1/2]

ZIVID_CORE_EXPORT ComputeDevice & Zivid::ComputeDevice::operator= ( ComputeDevice && other)
noexcept

Move assignment operator.

◆ operator=() [2/2]

ZIVID_CORE_EXPORT ComputeDevice & Zivid::ComputeDevice::operator= ( const ComputeDevice & other)

Assignment operator.

◆ toString()

ZIVID_CORE_EXPORT std::string Zivid::ComputeDevice::toString ( ) const

Get string representation of the compute device.

Returns
Compute device info as string

◆ vendor()

ZIVID_CORE_EXPORT std::string Zivid::ComputeDevice::vendor ( ) const

Returns the vendor of this compute device.


The documentation for this class was generated from the following file: