OpenCV: cv::ocl::Platform Class Reference

| OpenCV 3.4.2 Open Source Computer Vision

Public Member Functions | Static Public Member Functions | Protected Attributes | Friends | List of all members
cv::ocl::Platform Class Reference
Core functionality » OpenCL support

`#include "ocl.hpp"`

## Public Member Functions
| Platform ()
| Platform (const Platform &p)
| ~Platform ()
Platform & | operator= (const Platform &p)
void * | ptr () const

## Static Public Member Functions
static Platform & | getDefault ()

## Protected Attributes
Impl * | p

## Friends
void | initializeContextFromHandle (Context &ctx, void *platform, void *context, void *device)

## Constructor & Destructor Documentation

## ◆ Platform() [1/2]

cv::ocl::Platform::Platform | ( |  | ) |

## ◆ ~Platform()

cv::ocl::Platform::~Platform | ( |  | ) |

## ◆ Platform() [2/2]

cv::ocl::Platform::Platform | ( | const Platform & | p | ) |

## Member Function Documentation

## ◆ getDefault()

static Platform& cv::ocl::Platform::getDefault | ( |  | ) |
| static

## ◆ operator=()

Platform& cv::ocl::Platform::operator= | ( | const Platform & | p | ) |

## ◆ ptr()

void* cv::ocl::Platform::ptr | ( |  | ) | const

## Friends And Related Function Documentation

## ◆ initializeContextFromHandle

void initializeContextFromHandle | ( | Context & | ctx,
|  | void * | platform,
|  | void * | context,
|  | void * | device
| ) |  |
| friend

## Member Data Documentation

## ◆ p

Impl* cv::ocl::Platform::p
| protected

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

- core/include/opencv2/core/ocl.hpp