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

Public Member Functions

 LoadBalanceFunctor (bool minimize_memory, uint64_t offset, uint64_t nid, decltype(agents) agents, decltype(dest) dest, decltype(uid_ah_map) uid_ah_map, TypeIndex *type_index)
 
void operator() (Iterator< AgentHandle > *it)
 
- Public Member Functions inherited from bdm::Functor< void, Iterator< AgentHandle > * >
virtual ~Functor ()=default
 
virtual void operator() (TArgs... args)=0
 

Public Attributes

bool minimize_memory
 
uint64_t offset
 
uint64_t nid
 
std::vector< std::vector< Agent * > > & agents
 
std::vector< Agent * > & dest
 
AgentUidMap< AgentHandle > & uid_ah_map
 
TypeIndextype_index
 

Detailed Description

Definition at line 201 of file resource_manager.cc.

Constructor & Destructor Documentation

◆ LoadBalanceFunctor()

bdm::LoadBalanceFunctor::LoadBalanceFunctor ( bool  minimize_memory,
uint64_t  offset,
uint64_t  nid,
decltype(agents agents,
decltype(dest dest,
decltype(uid_ah_map uid_ah_map,
TypeIndex type_index 
)
inline

Definition at line 210 of file resource_manager.cc.

Member Function Documentation

◆ operator()()

void bdm::LoadBalanceFunctor::operator() ( Iterator< AgentHandle > *  it)
inline

Definition at line 221 of file resource_manager.cc.

Member Data Documentation

◆ agents

std::vector<std::vector<Agent*> >& bdm::LoadBalanceFunctor::agents

Definition at line 205 of file resource_manager.cc.

◆ dest

std::vector<Agent*>& bdm::LoadBalanceFunctor::dest

Definition at line 206 of file resource_manager.cc.

◆ minimize_memory

bool bdm::LoadBalanceFunctor::minimize_memory

Definition at line 202 of file resource_manager.cc.

◆ nid

uint64_t bdm::LoadBalanceFunctor::nid

Definition at line 204 of file resource_manager.cc.

◆ offset

uint64_t bdm::LoadBalanceFunctor::offset

Definition at line 203 of file resource_manager.cc.

◆ type_index

TypeIndex* bdm::LoadBalanceFunctor::type_index

Definition at line 208 of file resource_manager.cc.

◆ uid_ah_map

AgentUidMap<AgentHandle>& bdm::LoadBalanceFunctor::uid_ah_map

Definition at line 207 of file resource_manager.cc.


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