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

Implementation of the AbstractImporterExporter class that wraps a collection of AbstractImporterExporter objects that can be referenced by name. More...

#include <AgentImporterExporter.h>

Inheritance diagram for repast::ImporterExporter_BY_SET:
repast::AbstractImporterExporter

Public Member Functions

virtual const std::set< int > & getExportingProcesses ()
 
const std::set< int > & getExportingProcesses (std::string setName)
 
virtual void registerOutgoingRequests (AgentRequest &request)
 
void registerOutgoingRequests (AgentRequest &request, std::string setName, AGENT_IMPORTER_EXPORTER_TYPE setType=DEFAULT_ENUM_SYMBOL)
 
virtual void importedAgentIsRemoved (const AgentId &id)
 
virtual void importedAgentIsMoved (const AgentId &id, int newProcess)
 
virtual void importedAgentIsNowLocal (const AgentId &id)
 
virtual const AbstractExporter::StatusMap * getOutgoingStatusChanges ()
 
virtual const std::set< int > & getProcessesExportedTo ()
 
const std::set< int > & getProcessesExportedTo (std::string setName)
 
virtual void registerIncomingRequests (std::vector< AgentRequest > &requests)
 
void registerIncomingRequests (std::vector< AgentRequest > &requests, std::string setName)
 
virtual void agentRemoved (const AgentId &id)
 
virtual void agentMoved (const AgentId &id, int newProcess)
 
virtual void incorporateAgentExporterInfo (std::map< int, AgentRequest * > info)
 
void incorporateAgentExporterInfo (std::map< std::string, std::map< int, AgentRequest * > * > info)
 
virtual void clearStatusMap ()
 
virtual AgentExporterInfo * getAgentExportInfo (int destProc)
 
virtual void clearAgentExportInfo ()
 
virtual const std::map< int, AgentRequest > & getAgentsToExport ()
 
const std::map< int, AgentRequest > & getAgentsToExport (std::string setName)
 
virtual std::string version ()
 Returns the version of this AbstractImporterExporter. More...
 
void dropSet (std::string setName)
 
virtual std::string getReport ()
 Gets a printable report of the state of this object.
 
virtual void getSetOfAgentsBeingImported (std::set< AgentId > &set)
 
void getSetOfAgentsBeingImported (std::set< AgentId > &set, std::string excludeSet)
 
virtual void clear ()
 
void clear (std::string setName)
 
virtual void clearExporter ()
 
void clearExporter (std::string setName)
 
void clearExportToSpecificProc (int rank)
 
- Public Member Functions inherited from repast::AbstractImporterExporter
 AbstractImporterExporter (AbstractImporter *i, AbstractExporter *e)
 
virtual void exchangeAgentStatusUpdates (boost::mpi::communicator comm, std::vector< std::vector< AgentStatus > * > &statusUpdates)
 Exchanges the contents of the 'statusMap' with the destination processes, updating the status (moved or removed) for all agents being exported. More...
 

Additional Inherited Members

- Protected Attributes inherited from repast::AbstractImporterExporter
AbstractImporterimporter
 
AbstractExporterexporter
 

Detailed Description

Implementation of the AbstractImporterExporter class that wraps a collection of AbstractImporterExporter objects that can be referenced by name.

Each object can contain a different collection of agents, which were requested with an associated name for the importer/exporter to be used. They can then be updated separately, allowing for improved performance under certain circumstances.

Member Function Documentation

◆ version()

std::string ImporterExporter_BY_SET::version ( )
virtual

Returns the version of this AbstractImporterExporter.

The version is a string that indicates the semantic version of the importer and the exporter (e.g. "COUNT_LIST")

Implements repast::AbstractImporterExporter.


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