Packer class for objects. More...
Packer class for objects.
T | object type to pack |
Mem | Memory origin HeapMemory CudaMemory ... |
Definition at line 200 of file Packer.hpp.
#include <Packer.hpp>
Static Public Member Functions | |
static void | pack (ExtPreAlloc< Mem > &ext, T &obj, Pack_stat &sts) |
It pack any object checking that the object does not have pointers inside. More... | |
static void | packRequest (std::vector< size_t > &req) |
it add a request to pack an object More... | |
|
inlinestatic |
It pack any object checking that the object does not have pointers inside.
ext | preallocated memory where to pack the objects |
obj | object to pack |
sts | pack-stat info |
Definition at line 211 of file Packer.hpp.
|
inlinestatic |
it add a request to pack an object
req | requests vector |
Definition at line 232 of file Packer.hpp.