BioDynaMo  v1.03.58-27764645
Public Member Functions | Public Attributes | List of all members
bdm::AgentHandleIterator Struct Reference
Inheritance diagram for bdm::AgentHandleIterator:
[legend]
Collaboration diagram for bdm::AgentHandleIterator:
[legend]

Public Member Functions

 AgentHandleIterator (UniformGridEnvironment *grid, uint64_t start, uint64_t end, uint64_t box_index, uint64_t discard, decltype(sorted_boxes) sorted_boxes)
 
bool HasNext () const override
 
AgentHandle Next () override
 
- Public Member Functions inherited from bdm::Iterator< AgentHandle >
virtual ~Iterator ()=default
 
virtual bool HasNext () const=0
 

Public Attributes

UniformGridEnvironmentgrid_
 
uint64_t start
 
uint64_t end
 
uint64_t box_index
 
uint64_t discard
 
const ParallelResizeVector< UniformGridEnvironment::Box * > & sorted_boxes
 
UniformGridEnvironment::Box::Iterator box_it
 
uint64_t tid
 

Detailed Description

Definition at line 71 of file uniform_grid_environment.cc.

Constructor & Destructor Documentation

◆ AgentHandleIterator()

bdm::AgentHandleIterator::AgentHandleIterator ( UniformGridEnvironment grid,
uint64_t  start,
uint64_t  end,
uint64_t  box_index,
uint64_t  discard,
decltype(sorted_boxes sorted_boxes 
)
inline

Definition at line 78 of file uniform_grid_environment.cc.

Member Function Documentation

◆ HasNext()

bool bdm::AgentHandleIterator::HasNext ( ) const
inlineoverride

Definition at line 96 of file uniform_grid_environment.cc.

◆ Next()

AgentHandle bdm::AgentHandleIterator::Next ( )
inlineoverridevirtual

Implements bdm::Iterator< AgentHandle >.

Definition at line 98 of file uniform_grid_environment.cc.

Member Data Documentation

◆ box_index

uint64_t bdm::AgentHandleIterator::box_index

Definition at line 73 of file uniform_grid_environment.cc.

◆ box_it

UniformGridEnvironment::Box::Iterator bdm::AgentHandleIterator::box_it

Definition at line 75 of file uniform_grid_environment.cc.

◆ discard

uint64_t bdm::AgentHandleIterator::discard

Definition at line 73 of file uniform_grid_environment.cc.

◆ end

uint64_t bdm::AgentHandleIterator::end

Definition at line 73 of file uniform_grid_environment.cc.

◆ grid_

UniformGridEnvironment* bdm::AgentHandleIterator::grid_

Definition at line 72 of file uniform_grid_environment.cc.

◆ sorted_boxes

const ParallelResizeVector<UniformGridEnvironment::Box*>& bdm::AgentHandleIterator::sorted_boxes

Definition at line 74 of file uniform_grid_environment.cc.

◆ start

uint64_t bdm::AgentHandleIterator::start

Definition at line 73 of file uniform_grid_environment.cc.

◆ tid

uint64_t bdm::AgentHandleIterator::tid

Definition at line 76 of file uniform_grid_environment.cc.


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