OpenCV  4.8.0
Open Source Computer Vision
Public Member Functions | List of all members
cv::GOpaque< T > Class Template Reference

cv::GOpaque<T> template class represents an object of class T in the graph. More...

#include <opencv2/gapi/gopaque.hpp>

Public Member Functions

 GOpaque ()
 Constructs an empty cv::GOpaque<T> More...
 

Detailed Description

template<typename T>
class cv::GOpaque< T >

cv::GOpaque<T> template class represents an object of class T in the graph.

cv::GOpaque<T> describes a functional relationship between operations consuming and producing object of class T. cv::GOpaque<T> is designed to extend G-API with user-defined data types, which are often required with user-defined operations. G-API can't apply any optimizations to user-defined types since these types are opaque to the framework. However, there is a number of G-API operations declared with cv::GOpaque<T> as a return type, e.g. cv::gapi::streaming::timestamp() or cv::gapi::streaming::size().

See also
cv::GArray<T>

Constructor & Destructor Documentation

◆ GOpaque()

template<typename T>
cv::GOpaque< T >::GOpaque ( )
inline

Constructs an empty cv::GOpaque<T>

Normally, empty G-API data objects denote a starting point of the graph. When an empty cv::GOpaque<T> is assigned to a result of some operation, it obtains a functional link to this operation (and is not empty anymore).


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