SST 16.0.0
Structural Simulation Toolkit
SST::ComponentInfo Class Reference

Data Structures

struct  HashName
struct  EqualsName
struct  HashID
struct  EqualsID

Public Types

using statEnableList_t = std::vector<ConfigStatistic>

Public Member Functions

 ComponentInfo ()
 Constructor used only for serialization.
void serialize_order (SST::Core::Serialization::serializer &ser)
 Function used to serialize the class.
void serialize_comp (SST::Core::Serialization::serializer &ser)
 ComponentInfo (const std::string &type, const Params *params, const ComponentInfo *parent_info)
 ComponentInfo (ComponentId_t id, ComponentInfo *parent_info, const std::string &type, const std::string &slot_name, int slot_num, uint64_t share_flags)
 ComponentInfo (ConfigComponent *ccomp, const std::string &name, ComponentInfo *parent_info, LinkMap *link_map)
 ComponentInfo (ComponentInfo &&o)
bool isAnonymous ()
bool isUser ()
ComponentId_t getID () const
const std::string & getName () const
const std::string & getParentComponentName () const
std::string getShortName () const
 Get the short name for this SubComponent (name not including any parents, so just slot_name[index]).
const std::string & getSlotName () const
int getSlotNum () const
const std::string & getType () const
BaseComponent * getComponent () const
LinkMapgetLinkMap ()
const ParamsgetParams () const
std::map< ComponentId_t, ComponentInfo > & getSubComponents ()
ComponentInfo * findSubComponent (const std::string &slot, int slot_num)
ComponentInfo * findSubComponent (ComponentId_t id)
bool hasLinks () const
uint8_t getStatisticLoadLevel ()
 ComponentInfo (ComponentId_t id, const std::string &name, const std::string &slot_name, TimeConverter tv=TimeConverter())
 (DO NOT USE) Constructor used only for serialization testing
ComponentInfo * test_addSubComponentInfo (const std::string &name, const std::string &slot_name, TimeConverter tv=TimeConverter())
void test_printComponentInfoHierarchy (int index=0)

Static Public Attributes

static const uint64_t SHARE_PORTS = 0x1
static const uint64_t SHARE_STATS = 0x2
static const uint64_t INSERT_STATS = 0x4
static const uint64_t SHARE_NONE = 0x0

Friends

class Simulation
class BaseComponent
class ComponentInfoMap
class Core::Serialization::pvt::SerializeBaseComponentHelper

Member Typedef Documentation

◆ statEnableList_t

List of Enabled Statistics


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