Lines Matching defs:Wrapper

997  * existence of Wrapper<T>::cl_type, and none of the other types having the
998 * cl_type member. Note that simplify specifying the parameter as Wrapper<T>
1094 * existence of Wrapper<T>::cl_type, and none of the other types having the
1095 * cl_type member. Note that simplify specifying the parameter as Wrapper<T>
1647 class Wrapper
1656 Wrapper() : object_(NULL) { }
1658 Wrapper(const cl_type &obj, bool retainObject) : object_(obj)
1665 ~Wrapper()
1670 Wrapper(const Wrapper<cl_type>& rhs)
1676 Wrapper(Wrapper<cl_type>&& rhs) CL_HPP_NOEXCEPT_
1682 Wrapper<cl_type>& operator = (const Wrapper<cl_type>& rhs)
1692 Wrapper<cl_type>& operator = (Wrapper<cl_type>&& rhs)
1702 Wrapper<cl_type>& operator = (const cl_type &rhs)
1744 class Wrapper<cl_device_id>
1772 Wrapper() : object_(NULL), referenceCountable_(false)
1776 Wrapper(const cl_type &obj, bool retainObject) :
1787 ~Wrapper()
1792 Wrapper(const Wrapper<cl_type>& rhs)
1799 Wrapper(Wrapper<cl_type>&& rhs) CL_HPP_NOEXCEPT_
1807 Wrapper<cl_type>& operator = (const Wrapper<cl_type>& rhs)
1818 Wrapper<cl_type>& operator = (Wrapper<cl_type>&& rhs)
1830 Wrapper<cl_type>& operator = (const cl_type &rhs)
1873 inline bool operator==(const Wrapper<T> &lhs, const Wrapper<T> &rhs)
1879 inline bool operator!=(const Wrapper<T> &lhs, const Wrapper<T> &rhs)
1970 class Device : public detail::Wrapper<cl_device_id>
2007 Device() : detail::Wrapper<cl_type>() { }
2014 detail::Wrapper<cl_type>(device, retainObject) { }
2051 detail::Wrapper<cl_type>::operator=(rhs);
2058 Device(const Device& dev) : detail::Wrapper<cl_type>(dev) {}
2065 detail::Wrapper<cl_type>::operator=(dev);
2072 Device(Device&& dev) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(dev)) {}
2079 detail::Wrapper<cl_type>::operator=(std::move(dev));
2083 //! \brief Wrapper for clGetDeviceInfo().
2092 //! \brief Wrapper for clGetDeviceInfo() that returns by value.
2110 //! \brief Wrapper for clCreateSubDevices().
2203 class Platform : public detail::Wrapper<cl_platform_id>
2276 Platform() : detail::Wrapper<cl_type>() { }
2286 detail::Wrapper<cl_type>(platform, retainObject) { }
2294 detail::Wrapper<cl_type>::operator=(rhs);
2323 //! \brief Wrapper for clGetPlatformInfo().
2331 //! \brief Wrapper for clGetPlatformInfo() that returns by value.
2543 //! \brief Wrapper for clUnloadCompiler().
2583 : public detail::Wrapper<cl_context>
2801 Context(const Context& ctx) : detail::Wrapper<cl_type>(ctx) {}
2808 detail::Wrapper<cl_type>::operator=(ctx);
2815 Context(Context&& ctx) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(ctx)) {}
2822 detail::Wrapper<cl_type>::operator=(std::move(ctx));
2856 Context() : detail::Wrapper<cl_type>() { }
2864 detail::Wrapper<cl_type>(context, retainObject) { }
2873 detail::Wrapper<cl_type>::operator=(rhs);
2877 //! \brief Wrapper for clGetContextInfo().
2886 //! \brief Wrapper for clGetContextInfo() that returns by value.
2991 class Event : public detail::Wrapper<cl_event>
2995 Event() : detail::Wrapper<cl_type>() { }
3006 detail::Wrapper<cl_type>(event, retainObject) { }
3015 detail::Wrapper<cl_type>::operator=(rhs);
3019 //! \brief Wrapper for clGetEventInfo().
3028 //! \brief Wrapper for clGetEventInfo() that returns by value.
3042 //! \brief Wrapper for clGetEventProfilingInfo().
3051 //! \brief Wrapper for clGetEventProfilingInfo() that returns by value.
3174 class Memory : public detail::Wrapper<cl_mem>
3178 Memory() : detail::Wrapper<cl_type>() { }
3192 detail::Wrapper<cl_type>(memory, retainObject) { }
3201 detail::Wrapper<cl_type>::operator=(rhs);
3208 Memory(const Memory& mem) : detail::Wrapper<cl_type>(mem) {}
3215 detail::Wrapper<cl_type>::operator=(mem);
3222 Memory(Memory&& mem) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(mem)) {}
3229 detail::Wrapper<cl_type>::operator=(std::move(mem));
3234 //! \brief Wrapper for clGetMemObjectInfo().
3243 //! \brief Wrapper for clGetMemObjectInfo() that returns by value.
4062 //! \brief Wrapper for clGetGLObjectInfo().
4159 //! \brief Wrapper for clGetGLObjectInfo().
4232 //! \brief Wrapper for clGetImageInfo().
4241 //! \brief Wrapper for clGetImageInfo() that returns by value.
5381 //! \brief Wrapper for clGetMemObjectInfo().
5390 //! \brief Wrapper for clGetMemObjectInfo() that returns by value.
5415 class Sampler : public detail::Wrapper<cl_sampler>
5473 detail::Wrapper<cl_type>(sampler, retainObject) { }
5482 detail::Wrapper<cl_type>::operator=(rhs);
5489 Sampler(const Sampler& sam) : detail::Wrapper<cl_type>(sam) {}
5496 detail::Wrapper<cl_type>::operator=(sam);
5503 Sampler(Sampler&& sam) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(sam)) {}
5510 detail::Wrapper<cl_type>::operator=(std::move(sam));
5514 //! \brief Wrapper for clGetSamplerInfo().
5523 //! \brief Wrapper for clGetSamplerInfo() that returns by value.
5681 class Kernel : public detail::Wrapper<cl_kernel>
5698 detail::Wrapper<cl_type>(kernel, retainObject) { }
5707 detail::Wrapper<cl_type>::operator=(rhs);
5714 Kernel(const Kernel& kernel) : detail::Wrapper<cl_type>(kernel) {}
5721 detail::Wrapper<cl_type>::operator=(kernel);
5728 Kernel(Kernel&& kernel) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(kernel)) {}
5735 detail::Wrapper<cl_type>::operator=(std::move(kernel));
5989 class Program : public detail::Wrapper<cl_program>
6268 detail::Wrapper<cl_type>(program, retainObject) { }
6272 detail::Wrapper<cl_type>::operator=(rhs);
6279 Program(const Program& program) : detail::Wrapper<cl_type>(program) {}
6286 detail::Wrapper<cl_type>::operator=(program);
6293 Program(Program&& program) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(program)) {}
6300 detail::Wrapper<cl_type>::operator=(std::move(program));
6632 class CommandQueue : public detail::Wrapper<cl_command_queue>
7092 detail::Wrapper<cl_type>(commandQueue, retainObject) { }
7096 detail::Wrapper<cl_type>::operator=(rhs);
7103 CommandQueue(const CommandQueue& queue) : detail::Wrapper<cl_type>(queue) {}
7110 detail::Wrapper<cl_type>::operator=(queue);
7117 CommandQueue(CommandQueue&& queue) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(queue)) {}
7124 detail::Wrapper<cl_type>::operator=(std::move(queue));
8261 class DeviceCommandQueue : public detail::Wrapper<cl_command_queue>
8351 detail::Wrapper<cl_type>(commandQueue, retainObject) { }
8355 detail::Wrapper<cl_type>::operator=(rhs);
8362 DeviceCommandQueue(const DeviceCommandQueue& queue) : detail::Wrapper<cl_type>(queue) {}
8369 detail::Wrapper<cl_type>::operator=(queue);
8376 DeviceCommandQueue(DeviceCommandQueue&& queue) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(queue)) {}
8383 detail::Wrapper<cl_type>::operator=(std::move(queue));