43 fSize(0), fVecSize(0), fCapacity(0)
51 fS(atom_size), fN(chunk_size),
52 fSize(0), fVecSize(0), fCapacity(0)
89 memcpy(pos,
fChunks[i]->fArray, size);
118 if (fNextChunk < fPlex->
VecSize())
const std::set< Int_t > * fSelection
Char_t * Atom(Int_t idx) const
ClassImp(TEveChunkManager)
Char_t * Chunk(Int_t chk) const
Char_t * NewChunk()
Allocate a new memory chunk and register it.
virtual ~TEveChunkManager()
Destructor.
TEveChunkManager()
Default constructor.
Int_t NAtoms(Int_t chk) const
void Refit()
Refit the container so that all current data fits into a single chunk.
void Reset(Int_t atom_size, Int_t chunk_size)
Empty the container and reset it with given atom and chunk sizes.
Vector-like container with chunked memory allocation.
std::vector< TArrayC * > fChunks
Bool_t next()
Go to next atom.
void ReleaseChunks()
Release all memory chunks.
std::set< Int_t >::const_iterator fSelectionIterator
Array of chars or bytes (8 bits per element).