OpenCV  4.5.1
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 ()
 
 PlatformInfo (void *id)
 
 PlatformInfo (const PlatformInfo &i)
 
 ~PlatformInfo ()
 
int deviceNumber () const
 
bool empty () const
 
void getDevice (Device &device, int d) const
 
String name () const
 
PlatformInfooperator= (const PlatformInfo &i)
 
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/3]

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

◆ PlatformInfo() [2/3]

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

◆ ~PlatformInfo()

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

◆ PlatformInfo() [3/3]

cv::ocl::PlatformInfo::PlatformInfo ( const 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=()

PlatformInfo& cv::ocl::PlatformInfo::operator= ( const 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: