Point Cloud Library (PCL)  1.13.1-dev
List of all members | Public Types | Public Member Functions | Public Attributes | Static Public Attributes
pcl::gpu::DevPtr< T > Struct Template Reference

#include </__w/1/s/gpu/containers/include/pcl/gpu/containers/kernel_containers.h>

+ Inheritance diagram for pcl::gpu::DevPtr< T >:

Public Types

using elem_type = T

Public Member Functions

__PCL_GPU_HOST_DEVICE__ DevPtr (T *data_arg)
__PCL_GPU_HOST_DEVICE__ std::size_t elemSize () const
__PCL_GPU_HOST_DEVICE__ operator T* ()
__PCL_GPU_HOST_DEVICE__ operator const T * () const

Public Attributes

T * data

Static Public Attributes

static const std::size_t elem_size = sizeof(elem_type)

Detailed Description

template<typename T>
struct pcl::gpu::DevPtr< T >

Definition at line 50 of file kernel_containers.h.

Member Typedef Documentation

◆ elem_type

template<typename T >
using pcl::gpu::DevPtr< T >::elem_type = T

Definition at line 51 of file kernel_containers.h.

Constructor & Destructor Documentation

◆ DevPtr() [1/2]

template<typename T >
__PCL_GPU_HOST_DEVICE__ pcl::gpu::DevPtr< T >::DevPtr ( )

Definition at line 57 of file kernel_containers.h.

◆ DevPtr() [2/2]

template<typename T >
__PCL_GPU_HOST_DEVICE__ pcl::gpu::DevPtr< T >::DevPtr ( T *  data_arg)

Definition at line 60 of file kernel_containers.h.

Member Function Documentation

◆ elemSize()

template<typename T >
__PCL_GPU_HOST_DEVICE__ std::size_t pcl::gpu::DevPtr< T >::elemSize ( ) const

◆ operator const T *()

template<typename T >
__PCL_GPU_HOST_DEVICE__ pcl::gpu::DevPtr< T >::operator const T * ( ) const

Definition at line 70 of file kernel_containers.h.

References pcl::gpu::DevPtr< T >::data.

◆ operator T*()

template<typename T >
__PCL_GPU_HOST_DEVICE__ pcl::gpu::DevPtr< T >::operator T* ( )

Definition at line 69 of file kernel_containers.h.

References pcl::gpu::DevPtr< T >::data.

Member Data Documentation

◆ data

template<typename T >
T* pcl::gpu::DevPtr< T >::data

◆ elem_size

template<typename T >
const std::size_t pcl::gpu::DevPtr< T >::elem_size = sizeof(elem_type)

Definition at line 52 of file kernel_containers.h.

Referenced by pcl::gpu::DevPtr< T >::elemSize().

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