RepastHPC
2.3.1
|
Contains information sent as agents are exchanged, either in response to requests or agent movement. More...
#include <RepastProcess.h>
Public Member Functions | |
Request_Packet (std::vector< Content > *agentContent, std::map< std::string, std::vector< ProjectionInfoPacket * > > *projectionInfo) | |
template<class Archive > | |
void | serialize (Archive &ar, const unsigned int version) |
Public Attributes | |
std::vector< Content > * | agentContentPtr |
std::map< std::string, std::vector< ProjectionInfoPacket * > > * | projectionInfoPtr |
Friends | |
class | boost::serialization::access |
Contains information sent as agents are exchanged, either in response to requests or agent movement.
Contains both agent raw information (of type 'Content') and projection information.
Note: A 'Packet' is responsible for deleting the objects to which it points This is essentially not optional: when boost sends the Packet via MPI the locations at which it places the different elements are not known (no 'new' is called in the user code). Some code must be written to track these down and delete, and it is manifestly easier to provide that code in the Packet itself than to rewrite where needed, inspecting the Packet for the locations