template<typename T>
ObjectEntry struct
Constructors, destructors, conversion operators
-
template<typename Allocator, typename Constructor>ObjectEntry(TypeIdx in_idx, std::size_t in_size, Allocator&& in_allocator, Constructor&& in_constructor)
Public variables
- TypeIdx idx_
- std::size_t size_
- std::function<void*(void)> allocator_
- std::function<T*(void*)> constructor_
Variable documentation
template<typename T>
TypeIdx checkpoint::dispatch::vrt::objregistry::ObjectEntry<T>::idx_
The type index for this ObjT
template<typename T>
std::size_t checkpoint::dispatch::vrt::objregistry::ObjectEntry<T>::size_
The registered object size
template<typename T>
std::function<void*(void)> checkpoint::dispatch::vrt::objregistry::ObjectEntry<T>::allocator_
Do standard allocation for object
template<typename T>
std::function<T*(void*)> checkpoint::dispatch::vrt::objregistry::ObjectEntry<T>::constructor_
Construct object on memory