SST::SyncBase Class Reference

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

#include <sync.h>

Inheritance diagram for SST::SyncBase:
SST::Action SST::Activity SST::SyncD

Public Member Functions

 SyncBase ()
 Create a new Sync object which fires with a specified period.
virtual ActivityQueueregisterLink (int 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)
void print (const std::string &header, Output &out) const
 Generic print-print function for this Activity.
virtual uint64_t getDataSize () const =0

Protected Member Functions

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

Protected Attributes

Exitexit
TimeConvertermax_period

Friends

class boost::serialization::access

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.


Member Function Documentation

void SST::SyncBase::print ( const std::string &  header,
Output out 
) const [virtual]

Generic print-print function for this Activity.

Subclasses should override this function.

Reimplemented from SST::Action.

References SST::Activity::getDeliveryTime(), SST::TimeConverter::getFactor(), SST::Activity::getPriority(), and SST::Output::output().


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

Generated on 14 Sep 2015 for SST by  doxygen 1.6.1