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

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

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

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 

Definition at line 78 of file

Member Function Documentation

◆ HasNext()

bool bdm::AgentHandleIterator::HasNext ( ) const

Definition at line 96 of file

◆ Next()

AgentHandle bdm::AgentHandleIterator::Next ( )

Implements bdm::Iterator< AgentHandle >.

Definition at line 98 of file

Member Data Documentation

◆ box_index

uint64_t bdm::AgentHandleIterator::box_index

Definition at line 73 of file

◆ box_it

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

Definition at line 75 of file

◆ discard

uint64_t bdm::AgentHandleIterator::discard

Definition at line 73 of file

◆ end

uint64_t bdm::AgentHandleIterator::end

Definition at line 73 of file

◆ grid_

UniformGridEnvironment* bdm::AgentHandleIterator::grid_

Definition at line 72 of file

◆ sorted_boxes

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

Definition at line 74 of file

◆ start

uint64_t bdm::AgentHandleIterator::start

Definition at line 73 of file

◆ tid

uint64_t bdm::AgentHandleIterator::tid

Definition at line 76 of file

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