SST 12.1.0
Structural Simulation Toolkit
|
This is the base class for holding data on changes made to the shared data on each rank. More...
#include <sharedObject.h>
Public Member Functions | |
SharedObjectChangeSet (const std::string &name) | |
virtual void | applyChanges (SharedObjectDataManager *UNUSED(manager))=0 |
Apply the changes to the name shared data. More... | |
virtual void | clear ()=0 |
Clears the data. More... | |
const std::string & | getName () |
Get the name of the shared data the changeset should be applied to. More... | |
Public Member Functions inherited from SST::Core::Serialization::serializable | |
virtual const char * | cls_name () const =0 |
virtual void | serialize_order (serializer &ser)=0 |
virtual uint32_t | cls_id () const =0 |
virtual std::string | serialization_name () const =0 |
Protected Member Functions | |
void | serialize_order (SST::Core::Serialization::serializer &ser) override |
ImplementVirtualSerializable (SharedObjectChangeSet) | |
Additional Inherited Members | |
Static Public Attributes inherited from SST::Core::Serialization::serializable | |
static constexpr uint32_t | NullClsId = std::numeric_limits<uint32_t>::max() |
Protected Types inherited from SST::Core::Serialization::serializable | |
enum | cxn_flag_t { ConstructorFlag } |
Static Protected Member Functions inherited from SST::Core::Serialization::serializable | |
static void | serializable_abort (uint32_t line, const char *file, const char *func, const char *obj) |
This is the base class for holding data on changes made to the shared data on each rank.
This data will be serialized and shared with all ranks in the simulation.
|
pure virtual |
Apply the changes to the name shared data.
manager | The SharedObjectDataManager for the rank. This is used to get the named shared data. |
|
pure virtual |
Clears the data.
Used after transfering data to other ranks to prepare for the next round of init. Child classes should call this version of clear() in there implementations.
|
inline |
Get the name of the shared data the changeset should be applied to.
|
inlineoverrideprotectedvirtual |
Implements SST::Core::Serialization::serializable.