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 process the receive buffers in case of memory_traits_inte layout receive
encap | source |
encap | dst |
Definition at line 151 of file VCluster_meta_function.hpp.
#include <VCluster_meta_function.hpp>
Public Member Functions | |
process_receive_mem_traits_inte (openfpm::vector< typename sT::value_type, PtrMemory, layout_base, openfpm::grow_policy_identity > &v2, openfpm::vector_fr< BMemory< Memory > > &recv_buf, size_t i, size_t opt) | |
constructor | |
template<typename T > | |
void | operator() (T &t) |
It call the copy function for each property. | |
Data Fields | |
size_t | i |
set of pointers | |
openfpm::vector_fr< BMemory< Memory > > & | recv_buf |
Receive buffer. | |
openfpm::vector< typename sT::value_type, PtrMemory, layout_base, openfpm::grow_policy_identity > & | v2 |
Fake vector that map over received memory. | |
size_t | n_ele = 0 |
size_t | opt |
|
inline |
constructor
v | set of pointer buffers to set |
Definition at line 172 of file VCluster_meta_function.hpp.
|
inline |
It call the copy function for each property.
Definition at line 181 of file VCluster_meta_function.hpp.
size_t process_receive_mem_traits_inte< sT, layout_base, Memory >::i |
set of pointers
Definition at line 154 of file VCluster_meta_function.hpp.
size_t process_receive_mem_traits_inte< sT, layout_base, Memory >::n_ele = 0 |
Definition at line 162 of file VCluster_meta_function.hpp.
size_t process_receive_mem_traits_inte< sT, layout_base, Memory >::opt |
Definition at line 165 of file VCluster_meta_function.hpp.
openfpm::vector_fr<BMemory<Memory> >& process_receive_mem_traits_inte< sT, layout_base, Memory >::recv_buf |
Receive buffer.
Definition at line 157 of file VCluster_meta_function.hpp.
openfpm::vector<typename sT::value_type,PtrMemory,layout_base,openfpm::grow_policy_identity>& process_receive_mem_traits_inte< sT, layout_base, Memory >::v2 |
Fake vector that map over received memory.
Definition at line 160 of file VCluster_meta_function.hpp.