Developer documentation
Version 3.0.3-105-gd3941f44
MR::DWI::Tractography::GT::ParticlePool Class Reference

ParticlePool manages creation and deletion of particles, minimizing the no. calls to new/delete. More...

#include "dwi/tractography/GT/particlepool.h"

Protected Attributes

std::mutex mutex
 
deque< Particlepool
 
std::stack< Particle *, deque< Particle * > > avail
 
Math::RNG rng
 

Detailed Description

ParticlePool manages creation and deletion of particles, minimizing the no. calls to new/delete.

Definition at line 37 of file particlepool.h.

Member Data Documentation

◆ avail

std::stack<Particle*, deque<Particle*> > MR::DWI::Tractography::GT::ParticlePool::avail
protected

Definition at line 109 of file particlepool.h.

◆ mutex

std::mutex MR::DWI::Tractography::GT::ParticlePool::mutex
protected

Definition at line 107 of file particlepool.h.

◆ pool

deque<Particle> MR::DWI::Tractography::GT::ParticlePool::pool
protected

Definition at line 108 of file particlepool.h.

◆ rng

Math::RNG MR::DWI::Tractography::GT::ParticlePool::rng
protected

Definition at line 110 of file particlepool.h.


The documentation for this class was generated from the following file: