ASL  0.1.7
Advanced Simulation Library
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | Friends | List of all members
cl::detail::Wrapper< T > Class Template Reference

#include <cl.hpp>

Inheritance diagram for cl::detail::Wrapper< T >:
Inheritance graph
[legend]
Collaboration diagram for cl::detail::Wrapper< T >:
Collaboration graph
[legend]

Public Types

typedef T cl_type
 

Public Member Functions

 Wrapper ()
 
 Wrapper (const cl_type &obj)
 
 ~Wrapper ()
 
 Wrapper (const Wrapper< cl_type > &rhs)
 
Wrapper< cl_type > & operator= (const Wrapper< cl_type > &rhs)
 
Wrapper< cl_type > & operator= (const cl_type &rhs)
 
cl_type operator() () const
 
cl_typeoperator() ()
 

Protected Member Functions

cl_int retain () const
 
cl_int release () const
 

Protected Attributes

cl_type object_
 

Friends

template<typename Func , typename U >
cl_int getInfoHelper (Func, cl_uint, U *, int, typename U::cl_type)
 

Detailed Description

template<typename T>
class cl::detail::Wrapper< T >

Definition at line 1669 of file cl.hpp.

Member Typedef Documentation

◆ cl_type

template<typename T>
typedef T cl::detail::Wrapper< T >::cl_type

Definition at line 1672 of file cl.hpp.

Constructor & Destructor Documentation

◆ Wrapper() [1/3]

template<typename T>
cl::detail::Wrapper< T >::Wrapper ( )
inline

Definition at line 1678 of file cl.hpp.

◆ Wrapper() [2/3]

template<typename T>
cl::detail::Wrapper< T >::Wrapper ( const cl_type obj)
inline

Definition at line 1680 of file cl.hpp.

◆ ~Wrapper()

template<typename T>
cl::detail::Wrapper< T >::~Wrapper ( )
inline

Definition at line 1682 of file cl.hpp.

◆ Wrapper() [3/3]

template<typename T>
cl::detail::Wrapper< T >::Wrapper ( const Wrapper< cl_type > &  rhs)
inline

Definition at line 1687 of file cl.hpp.

Member Function Documentation

◆ operator()() [1/2]

template<typename T>
cl_type cl::detail::Wrapper< T >::operator() ( ) const
inline

Definition at line 1730 of file cl.hpp.

◆ operator()() [2/2]

template<typename T>
cl_type& cl::detail::Wrapper< T >::operator() ( )
inline

Definition at line 1732 of file cl.hpp.

◆ operator=() [1/2]

template<typename T>
Wrapper<cl_type>& cl::detail::Wrapper< T >::operator= ( const Wrapper< cl_type > &  rhs)
inline

Definition at line 1701 of file cl.hpp.

◆ operator=() [2/2]

template<typename T>
Wrapper<cl_type>& cl::detail::Wrapper< T >::operator= ( const cl_type rhs)
inline

Definition at line 1723 of file cl.hpp.

◆ release()

template<typename T>
cl_int cl::detail::Wrapper< T >::release ( ) const
inlineprotected

Definition at line 1743 of file cl.hpp.

◆ retain()

template<typename T>
cl_int cl::detail::Wrapper< T >::retain ( ) const
inlineprotected

Definition at line 1738 of file cl.hpp.

Friends And Related Function Documentation

◆ getInfoHelper

template<typename T>
template<typename Func , typename U >
cl_int getInfoHelper ( Func  ,
cl_uint  ,
U *  ,
int  ,
typename U::cl_type   
)
friend

Member Data Documentation

◆ object_

template<typename T>
cl_type cl::detail::Wrapper< T >::object_
protected

Definition at line 1675 of file cl.hpp.


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