RepastHPC  2.3.1
Public Member Functions | List of all members
repast::AgentExporterData Class Reference

Data structure for exporter data that is to be sent to other processes when the agents being exported are moved. More...

#include <AgentImporterExporter.h>

Public Member Functions

void addData (const AgentId &id, const int destProc, const int sourceProc, const int numberOfCopies=1)
 Adds an agent ID to this list of data that is being exported to a specific processor (destProc), so that the agent's information will be exported to another processor (sourceProc).
 
AgentExporterInfo * dataForProc (int destProc)
 Gets the packaged set of information to be sent to a specific processor.
 
void clear ()
 Clears this data structure.
 
void removeAllDataForAgent (AgentId &id)
 Remove all the data for a specific agent; useful when the agent is removed.
 
void selectSet (std::string setName)
 Specifies that add and retrieve actions are to be performed on the subset of data identified by the given set name. More...
 

Detailed Description

Data structure for exporter data that is to be sent to other processes when the agents being exported are moved.

Note that the internal data structure is protected; classes can use this data without knowing its actual internal structure.

Member Function Documentation

◆ selectSet()

void AgentExporterData::selectSet ( std::string  setName)

Specifies that add and retrieve actions are to be performed on the subset of data identified by the given set name.

(Does not affect 'clear' or 'removeAllDataForAgent')


The documentation for this class was generated from the following files: