MADNESS
version 0.9
|
A simple process map. More...
#include <funcimpl.h>
Public Member Functions | |
SimplePmap (World &world) | |
ProcessID | owner (const keyT &key) const |
Maps key to processor. More... | |
Public Member Functions inherited from madness::WorldDCPmapInterface< keyT > | |
virtual | ~WorldDCPmapInterface () |
virtual void | print () const |
void | register_callback (ptrT ptr) |
Registers object for receipt of redistribute callbacks. More... | |
void | deregister_callback (ptrT ptr) |
Deregisters object for receipt of redistribute callbacks. More... | |
void | redistribute (World &world, const std::shared_ptr< WorldDCPmapInterface< keyT > > &newpmap) |
Invoking this switches all registered objects from this process map to the new one. More... | |
Additional Inherited Members | |
Public Types inherited from madness::WorldDCPmapInterface< keyT > | |
typedef WorldDCRedistributeInterface < keyT > * | ptrT |
A simple process map.
|
inline |
|
inlinevirtual |
Maps key to processor.
[in] | key | Key for container |
Implements madness::WorldDCPmapInterface< keyT >.