SST  7.0.0
StructuralSimulationToolkit
SST::SyncBase Class Referenceabstract

SyncBase defines the API for Sync objects, which are used to synchronize between MPI ranks in a simulation. More...

#include <syncBase.h>

Public Member Functions

 SyncBase ()
 Create a new Sync object which fires with a specified period.
 
virtual ActivityQueueregisterLink (const RankInfo &to_rank, const RankInfo &from_rank, LinkId_t link_id, Link *link)=0
 Register a Link which this Sync Object is responsible for.
 
virtual int exchangeLinkInitData (int msg_count)=0
 Cause an exchange of Initialization Data to occur.
 
virtual void finalizeLinkConfigurations ()=0
 Finish link configuration.
 
virtual void setExit (Exit *ex)
 
virtual void setMaxPeriod (TimeConverter *period)
 
virtual uint64_t getDataSize () const =0
 
virtual ActiongetSlaveAction ()=0
 
virtual ActiongetMasterAction ()=0
 

Protected Member Functions

void sendInitData_sync (Link *link, Event *init_data)
 
void finalizeConfiguration (Link *link)
 

Protected Attributes

Exitexit
 
TimeConvertermax_period
 

Detailed Description

SyncBase defines the API for Sync objects, which are used to synchronize between MPI ranks in a simulation.

This is an internal class, and not a public-facing API.


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