12 #ifndef SST_CORE_SYNCBASE_H 13 #define SST_CORE_SYNCBASE_H 15 #include "sst/core/sst_types.h" 17 #include <sst/core/rankInfo.h> 50 virtual void setExit(
Exit* ex) { exit = ex; }
55 virtual uint64_t getDataSize()
const = 0;
57 virtual Action* getSlaveAction() = 0;
58 virtual Action* getMasterAction() = 0;
64 void sendInitData_sync(
Link* link,
Event* init_data);
65 void finalizeConfiguration(
Link* link);
73 #endif // SST_CORE_SYNCBASE_H An Action is a schedulable Activity which is not an Event.
Definition: action.h:30
A class to convert between a component's view of time and the core's view of time.
Definition: timeConverter.h:25
virtual ActivityQueue * registerLink(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.
Exit Event Action.
Definition: exit.h:34
Definition: rankInfo.h:21
SyncBase defines the API for Sync objects, which are used to synchronize between MPI ranks in a simul...
Definition: syncBase.h:34
virtual int exchangeLinkInitData(int msg_count)=0
Cause an exchange of Initialization Data to occur.
SyncBase()
Create a new Sync object which fires with a specified period.
Definition: syncBase.h:37
virtual void finalizeLinkConfigurations()=0
Finish link configuration.
Base Class for a queue of Activities.
Definition: activityQueue.h:22
Base class for Events - Items sent across links to communicate between components.
Definition: event.h:31
Link between two components.
Definition: link.h:33