this class is a functor for "for_each" algorithm More...
this class is a functor for "for_each" algorithm
This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to copy one encap into another encap object
encap | source |
encap | dst |
Definition at line 33 of file map_grid_cuda_ker.cuh.
Public Member Functions | |
copy_switch_memory_c_no_cpy (const T_type_src &src, T_type_dst &dst) | |
constructor | |
template<typename T > | |
void | operator() (T &t) |
It call the copy function for each property. | |
Data Fields | |
const T_type_src & | src |
encapsulated source object | |
T_type_dst & | dst |
encapsulated destination object | |
|
inline |
constructor
src | source encapsulated object |
dst | source encapsulated object |
Definition at line 47 of file map_grid_cuda_ker.cuh.
|
inline |
It call the copy function for each property.
Definition at line 56 of file map_grid_cuda_ker.cuh.
T_type_dst& copy_switch_memory_c_no_cpy< T_type_src, T_type_dst >::dst |
encapsulated destination object
Definition at line 38 of file map_grid_cuda_ker.cuh.
const T_type_src& copy_switch_memory_c_no_cpy< T_type_src, T_type_dst >::src |
encapsulated source object
Definition at line 36 of file map_grid_cuda_ker.cuh.