This is the base class for holding data on changes made to the shared data on each rank.
More...
#include <sharedObject.h>
|
| 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...
|
|
virtual const char * | cls_name () const =0 |
|
virtual uint32_t | cls_id () const =0 |
|
virtual std::string | serialization_name () const =0 |
|
|
static constexpr uint32_t | NullClsId = std::numeric_limits<uint32_t>::max() |
|
enum | cxn_flag_t { ConstructorFlag
} |
|
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.
◆ applyChanges()
Apply the changes to the name shared data.
- Parameters
-
◆ clear()
virtual void SST::Shared::SharedObjectChangeSet::clear |
( |
| ) |
|
|
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.
◆ getName()
const std::string& SST::Shared::SharedObjectChangeSet::getName |
( |
| ) |
|
|
inline |
Get the name of the shared data the changeset should be applied to.
- Returns
- name of shared data to apply changes to
The documentation for this class was generated from the following file: