SST  14.1.0
StructuralSimulationToolkit
SST::ComponentInfo Class Reference

Data Structures

struct  EqualsID
 
struct  EqualsName
 
struct  HashID
 
struct  HashName
 

Public Types

typedef std::vector< ConfigStatisticstatEnableList_t
 

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
 
BaseComponentgetComponent () const
 
LinkMapgetLinkMap ()
 
const ParamsgetParams () const
 
std::map< ComponentId_t, ComponentInfo > & getSubComponents ()
 
ComponentInfofindSubComponent (const std::string &slot, int slot_num)
 
ComponentInfofindSubComponent (ComponentId_t id)
 
bool hasLinks () const
 
uint8_t getStatisticLoadLevel ()
 
 ComponentInfo (ComponentId_t id, const std::string &name, const std::string &slot_name, TimeConverter *tv=nullptr)
 (DO NOT USE) Constructor used only for serialization testing
 
ComponentInfotest_addSubComponentInfo (const std::string &name, const std::string &slot_name, TimeConverter *tv=nullptr)
 
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_impl
 
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: