mesa  18.2.8
About: Mesa is an open-source implementation of the OpenGL specification - a system for rendering interactive 3D graphics (main library code).
  Fossies Dox: mesa-18.2.8.tar.xz  ("inofficial" and yet experimental doxygen-generated source code documentation)  

cl::Event Class Reference

Event interface for cl_event. More...

#include <cl.hpp>

Inheritance diagram for cl::Event:
Collaboration diagram for cl::Event:

Public Member Functions

 Event ()
 
 Event (const Event &event)
 
Eventoperator= (const Event &rhs)
 
template<typename T >
cl_int getInfo (cl_event_info name, T *param) const
 
template<cl_int name>
detail::param_traits< detail::cl_event_info, name >::param_type getInfo (cl_int *err=NULL) const
 
template<typename T >
cl_int getProfilingInfo (cl_profiling_info name, T *param) const
 
template<cl_int name>
detail::param_traits< detail::cl_profiling_info, name >::param_type getProfilingInfo (cl_int *err=NULL) const
 
cl_int wait () const
 
- Public Member Functions inherited from cl::detail::Wrapper< cl_event >
 Wrapper ()
 
 Wrapper (const Wrapper< cl_type > &rhs)
 
 ~Wrapper ()
 
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
 
cl_type operator() () const
 
cl_typeoperator() ()
 

Static Public Member Functions

static cl_int waitForEvents (const VECTOR_CLASS< Event > &events)
 

Additional Inherited Members

- Public Types inherited from cl::detail::Wrapper< cl_event >
typedef cl_event cl_type
 
- Protected Member Functions inherited from cl::detail::Wrapper< cl_event >
cl_int retain () const
 
cl_int release () const
 
- Protected Attributes inherited from cl::detail::Wrapper< cl_event >
cl_type object_
 

Detailed Description

Event interface for cl_event.

Definition at line 1537 of file cl.hpp.

Constructor & Destructor Documentation

◆ Event() [1/2]

cl::Event::Event ( )
inline

Definition at line 1540 of file cl.hpp.

◆ Event() [2/2]

cl::Event::Event ( const Event event)
inline

Definition at line 1542 of file cl.hpp.

Member Function Documentation

◆ getInfo() [1/2]

template<typename T >
cl_int cl::Event::getInfo ( cl_event_info  name,
T param 
) const
inline

Definition at line 1553 of file cl.hpp.

References clGetEventInfo(), cl::detail::errHandler(), and cl::detail::getInfo().

◆ getInfo() [2/2]

template<cl_int name>
detail::param_traits<detail::cl_event_info, name>::param_type cl::Event::getInfo ( cl_int *  err = NULL) const
inline

Definition at line 1562 of file cl.hpp.

References cl::detail::getInfo(), and NULL.

◆ getProfilingInfo() [1/2]

template<typename T >
cl_int cl::Event::getProfilingInfo ( cl_profiling_info  name,
T param 
) const
inline

◆ getProfilingInfo() [2/2]

template<cl_int name>
detail::param_traits<detail::cl_profiling_info, name>::param_type cl::Event::getProfilingInfo ( cl_int *  err = NULL) const
inline

Definition at line 1583 of file cl.hpp.

References NULL.

◆ operator=()

Event& cl::Event::operator= ( const Event rhs)
inline

Definition at line 1544 of file cl.hpp.

References cl::detail::Wrapper< T >::operator=().

◆ wait()

cl_int cl::Event::wait ( ) const
inline

Definition at line 1594 of file cl.hpp.

References clWaitForEvents(), and cl::detail::errHandler().

◆ waitForEvents()

static cl_int cl::Event::waitForEvents ( const VECTOR_CLASS< Event > &  events)
inlinestatic

Definition at line 1618 of file cl.hpp.

References clWaitForEvents(), and cl::detail::errHandler().


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