BioDynaMo  v1.05.120-25dc9790
load_balance_info.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 //
3 // Copyright (C) 2021 CERN & University of Surrey for the benefit of the
4 // BioDynaMo collaboration. All Rights Reserved.
5 //
6 // Licensed under the Apache License, Version 2.0 (the "License");
7 // you may not use this file except in compliance with the License.
8 //
9 // See the LICENSE file distributed with this work for details.
10 // See the NOTICE file distributed with this work for additional information
11 // regarding copyright ownership.
12 //
13 // -----------------------------------------------------------------------------
14 
15 #ifndef CORE_LOAD_BALANCE_INFO_H_
16 #define CORE_LOAD_BALANCE_INFO_H_
17 
19 #include "core/functor.h"
20 #include "core/util/iterator.h"
21 
22 namespace bdm {
23 
25  public:
26  virtual ~LoadBalanceInfo() = default;
27  virtual void CallHandleIteratorConsumer(
28  uint64_t start, uint64_t end,
29  Functor<void, Iterator<AgentHandle>*>& f) const = 0;
30 };
31 
32 } // namespace bdm
33 
34 #endif // CORE_LOAD_BALANCE_INFO_H_
agent_handle.h
bdm
Definition: agent.cc:39
bdm::Iterator< AgentHandle >
bdm::LoadBalanceInfo
Definition: load_balance_info.h:24
bdm::Functor
Definition: functor.h:24
bdm::LoadBalanceInfo::CallHandleIteratorConsumer
virtual void CallHandleIteratorConsumer(uint64_t start, uint64_t end, Functor< void, Iterator< AgentHandle > * > &f) const =0
iterator.h
bdm::LoadBalanceInfo::~LoadBalanceInfo
virtual ~LoadBalanceInfo()=default
functor.h