OpenCV  4.7.0-dev
Open Source Computer Vision
Public Member Functions | Protected Attributes | List of all members
cv::ocl::PlatformInfo Class Reference

#include <opencv2/core/ocl.hpp>

Public Member Functions

 PlatformInfo () CV_NOEXCEPT
 
 PlatformInfo (void *id)
 
 PlatformInfo (const PlatformInfo &i)
 
 PlatformInfo (PlatformInfo &&i) CV_NOEXCEPT
 
 ~PlatformInfo ()
 
int deviceNumber () const
 
bool empty () const
 
void getDevice (Device &device, int d) const
 
String name () const
 
PlatformInfooperator= (const PlatformInfo &i)
 
PlatformInfooperator= (PlatformInfo &&i) CV_NOEXCEPT
 
String vendor () const
 
String version () const
 See CL_PLATFORM_VERSION. More...
 
int versionMajor () const
 
int versionMinor () const
 

Protected Attributes

Impl * p
 

Constructor & Destructor Documentation

◆ PlatformInfo() [1/4]

cv::ocl::PlatformInfo::PlatformInfo ( )

◆ PlatformInfo() [2/4]

cv::ocl::PlatformInfo::PlatformInfo ( void *  id)
explicit
Parameters
idpointer cl_platform_id (cl_platform_id*)

◆ ~PlatformInfo()

cv::ocl::PlatformInfo::~PlatformInfo ( )

◆ PlatformInfo() [3/4]

cv::ocl::PlatformInfo::PlatformInfo ( const PlatformInfo i)

◆ PlatformInfo() [4/4]

cv::ocl::PlatformInfo::PlatformInfo ( PlatformInfo &&  i)

Member Function Documentation

◆ deviceNumber()

int cv::ocl::PlatformInfo::deviceNumber ( ) const

◆ empty()

bool cv::ocl::PlatformInfo::empty ( ) const
inline

◆ getDevice()

void cv::ocl::PlatformInfo::getDevice ( Device device,
int  d 
) const

◆ name()

String cv::ocl::PlatformInfo::name ( ) const

◆ operator=() [1/2]

PlatformInfo& cv::ocl::PlatformInfo::operator= ( const PlatformInfo i)

◆ operator=() [2/2]

PlatformInfo& cv::ocl::PlatformInfo::operator= ( PlatformInfo &&  i)

◆ vendor()

String cv::ocl::PlatformInfo::vendor ( ) const

◆ version()

String cv::ocl::PlatformInfo::version ( ) const

See CL_PLATFORM_VERSION.

◆ versionMajor()

int cv::ocl::PlatformInfo::versionMajor ( ) const

◆ versionMinor()

int cv::ocl::PlatformInfo::versionMinor ( ) const

Member Data Documentation

◆ p

Impl* cv::ocl::PlatformInfo::p
protected

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