Lines Matching refs:Wrapper

1051  * existence of Wrapper<T>::cl_type, and none of the other types having the
1052 * cl_type member. Note that simplify specifying the parameter as Wrapper<T>
1148 * existence of Wrapper<T>::cl_type, and none of the other types having the
1149 * cl_type member. Note that simplify specifying the parameter as Wrapper<T>
1747 class Wrapper
1756 Wrapper() : object_(NULL) { }
1758 Wrapper(const cl_type &obj, bool retainObject) : object_(obj)
1765 ~Wrapper()
1770 Wrapper(const Wrapper<cl_type>& rhs)
1776 Wrapper(Wrapper<cl_type>&& rhs) CL_HPP_NOEXCEPT_
1782 Wrapper<cl_type>& operator = (const Wrapper<cl_type>& rhs)
1792 Wrapper<cl_type>& operator = (Wrapper<cl_type>&& rhs)
1802 Wrapper<cl_type>& operator = (const cl_type &rhs)
1841 class Wrapper<cl_device_id>
1869 Wrapper() : object_(NULL), referenceCountable_(false)
1873 Wrapper(const cl_type &obj, bool retainObject) :
1884 ~Wrapper()
1889 Wrapper(const Wrapper<cl_type>& rhs)
1896 Wrapper(Wrapper<cl_type>&& rhs) CL_HPP_NOEXCEPT_
1904 Wrapper<cl_type>& operator = (const Wrapper<cl_type>& rhs)
1915 Wrapper<cl_type>& operator = (Wrapper<cl_type>&& rhs)
1927 Wrapper<cl_type>& operator = (const cl_type &rhs)
1970 inline bool operator==(const Wrapper<T> &lhs, const Wrapper<T> &rhs)
1976 inline bool operator!=(const Wrapper<T> &lhs, const Wrapper<T> &rhs)
2067 class Device : public detail::Wrapper<cl_device_id>
2104 Device() : detail::Wrapper<cl_type>() { }
2111 detail::Wrapper<cl_type>(device, retainObject) { }
2148 detail::Wrapper<cl_type>::operator=(rhs);
2155 Device(const Device& dev) : detail::Wrapper<cl_type>(dev) {}
2162 detail::Wrapper<cl_type>::operator=(dev);
2169 Device(Device&& dev) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(dev)) {}
2176 detail::Wrapper<cl_type>::operator=(std::move(dev));
2180 //! \brief Wrapper for clGetDeviceInfo().
2189 //! \brief Wrapper for clGetDeviceInfo() that returns by value.
2254 //! \brief Wrapper for clCreateSubDevices().
2347 class Platform : public detail::Wrapper<cl_platform_id>
2420 Platform() : detail::Wrapper<cl_type>() { }
2430 detail::Wrapper<cl_type>(platform, retainObject) { }
2438 detail::Wrapper<cl_type>::operator=(rhs);
2467 //! \brief Wrapper for clGetPlatformInfo().
2475 //! \brief Wrapper for clGetPlatformInfo() that returns by value.
2687 //! \brief Wrapper for clUnloadCompiler().
2727 : public detail::Wrapper<cl_context>
2945 Context(const Context& ctx) : detail::Wrapper<cl_type>(ctx) {}
2952 detail::Wrapper<cl_type>::operator=(ctx);
2959 Context(Context&& ctx) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(ctx)) {}
2966 detail::Wrapper<cl_type>::operator=(std::move(ctx));
3000 Context() : detail::Wrapper<cl_type>() { }
3008 detail::Wrapper<cl_type>(context, retainObject) { }
3017 detail::Wrapper<cl_type>::operator=(rhs);
3021 //! \brief Wrapper for clGetContextInfo().
3030 //! \brief Wrapper for clGetContextInfo() that returns by value.
3135 class Event : public detail::Wrapper<cl_event>
3139 Event() : detail::Wrapper<cl_type>() { }
3150 detail::Wrapper<cl_type>(event, retainObject) { }
3159 detail::Wrapper<cl_type>::operator=(rhs);
3163 //! \brief Wrapper for clGetEventInfo().
3172 //! \brief Wrapper for clGetEventInfo() that returns by value.
3186 //! \brief Wrapper for clGetEventProfilingInfo().
3195 //! \brief Wrapper for clGetEventProfilingInfo() that returns by value.
3318 class Memory : public detail::Wrapper<cl_mem>
3322 Memory() : detail::Wrapper<cl_type>() { }
3336 detail::Wrapper<cl_type>(memory, retainObject) { }
3345 detail::Wrapper<cl_type>::operator=(rhs);
3352 Memory(const Memory& mem) : detail::Wrapper<cl_type>(mem) {}
3359 detail::Wrapper<cl_type>::operator=(mem);
3366 Memory(Memory&& mem) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(mem)) {}
3373 detail::Wrapper<cl_type>::operator=(std::move(mem));
3378 //! \brief Wrapper for clGetMemObjectInfo().
3387 //! \brief Wrapper for clGetMemObjectInfo() that returns by value.
4206 //! \brief Wrapper for clGetGLObjectInfo().
4303 //! \brief Wrapper for clGetGLObjectInfo().
4376 //! \brief Wrapper for clGetImageInfo().
4385 //! \brief Wrapper for clGetImageInfo() that returns by value.
5525 //! \brief Wrapper for clGetMemObjectInfo().
5534 //! \brief Wrapper for clGetMemObjectInfo() that returns by value.
5559 class Sampler : public detail::Wrapper<cl_sampler>
5617 detail::Wrapper<cl_type>(sampler, retainObject) { }
5626 detail::Wrapper<cl_type>::operator=(rhs);
5633 Sampler(const Sampler& sam) : detail::Wrapper<cl_type>(sam) {}
5640 detail::Wrapper<cl_type>::operator=(sam);
5647 Sampler(Sampler&& sam) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(sam)) {}
5654 detail::Wrapper<cl_type>::operator=(std::move(sam));
5658 //! \brief Wrapper for clGetSamplerInfo().
5667 //! \brief Wrapper for clGetSamplerInfo() that returns by value.
5825 class Kernel : public detail::Wrapper<cl_kernel>
5842 detail::Wrapper<cl_type>(kernel, retainObject) { }
5851 detail::Wrapper<cl_type>::operator=(rhs);
5858 Kernel(const Kernel& kernel) : detail::Wrapper<cl_type>(kernel) {}
5865 detail::Wrapper<cl_type>::operator=(kernel);
5872 Kernel(Kernel&& kernel) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(kernel)) {}
5879 detail::Wrapper<cl_type>::operator=(std::move(kernel));
6157 class Program : public detail::Wrapper<cl_program>
6546 detail::Wrapper<cl_type>(program, retainObject) { }
6550 detail::Wrapper<cl_type>::operator=(rhs);
6557 Program(const Program& program) : detail::Wrapper<cl_type>(program) {}
6564 detail::Wrapper<cl_type>::operator=(program);
6571 Program(Program&& program) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(program)) {}
6578 detail::Wrapper<cl_type>::operator=(std::move(program));
6982 class CommandQueue : public detail::Wrapper<cl_command_queue>
7442 detail::Wrapper<cl_type>(commandQueue, retainObject) { }
7446 detail::Wrapper<cl_type>::operator=(rhs);
7453 CommandQueue(const CommandQueue& queue) : detail::Wrapper<cl_type>(queue) {}
7460 detail::Wrapper<cl_type>::operator=(queue);
7467 CommandQueue(CommandQueue&& queue) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(queue)) {}
7474 detail::Wrapper<cl_type>::operator=(std::move(queue));
8732 class DeviceCommandQueue : public detail::Wrapper<cl_command_queue>
8822 detail::Wrapper<cl_type>(commandQueue, retainObject) { }
8826 detail::Wrapper<cl_type>::operator=(rhs);
8833 DeviceCommandQueue(const DeviceCommandQueue& queue) : detail::Wrapper<cl_type>(queue) {}
8840 detail::Wrapper<cl_type>::operator=(queue);
8847 DeviceCommandQueue(DeviceCommandQueue&& queue) CL_HPP_NOEXCEPT_ : detail::Wrapper<cl_type>(std::move(queue)) {}
8854 detail::Wrapper<cl_type>::operator=(std::move(queue));