SST  7.2.0
StructuralSimulationToolkit
SST::ConfigComponent Class Reference

Represents the configuration of a generic component. More...

#include <configGraph.h>

Inheritance diagram for SST::ConfigComponent:
SST::Core::Serialization::serializable

Public Member Functions

const ComponentId_t & key () const
 
void print (std::ostream &os) const
 Print Component information.
 
ConfigComponent cloneWithoutLinks () const
 
ConfigComponent cloneWithoutLinksOrParams () const
 
void setRank (RankInfo r)
 
void setWeight (double w)
 
void setCoordinates (const std::vector< double > &c)
 
void addParameter (const std::string &key, const std::string &value, bool overwrite)
 
ConfigComponentaddSubComponent (ComponentId_t, const std::string &name, const std::string &type, int slot)
 
ConfigComponentfindSubComponent (ComponentId_t)
 
const ConfigComponentfindSubComponent (ComponentId_t) const
 
void enableStatistic (const std::string &statisticName, bool recursively=false)
 
void addStatisticParameter (const std::string &statisticName, const std::string &param, const std::string &value, bool recursively=false)
 
void setStatisticParameters (const std::string &statisticName, const Params &params, bool recursively=false)
 
std::vector< LinkId_t > allLinks () const
 
void serialize_order (SST::Core::Serialization::serializer &ser) override
 
ImplementSerializable(SST::ConfigComponent) private ConfigComponent (ComponentId_t id, std::string name, std::string type, float weight, RankInfo rank)
 Create a new Component.
 
 ConfigComponent (ComponentId_t id, std::string name, int slot_num, std::string type, float weight, RankInfo rank)
 
- Public Member Functions inherited from SST::Core::Serialization::serializable
virtual const char * cls_name () const =0
 
virtual uint32_t cls_id () const =0
 
virtual std::string serialization_name () const =0
 

Data Fields

ComponentId_t id
 
std::string name
 
int slot_num
 
std::string type
 
float weight
 
RankInfo rank
 
std::vector< LinkId_t > links
 
Params params
 
std::vector< Statistics::StatisticInfoenabledStatistics
 
std::vector< ConfigComponentsubComponents
 
std::vector< double > coords
 

Additional Inherited Members

- 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)
 

Detailed Description

Represents the configuration of a generic component.

Field Documentation

◆ enabledStatistics

std::vector<Statistics::StatisticInfo> SST::ConfigComponent::enabledStatistics

List of statistics to be enabled

Referenced by print().

◆ id

◆ links

std::vector<LinkId_t> SST::ConfigComponent::links

◆ name

std::string SST::ConfigComponent::name

◆ params

Params SST::ConfigComponent::params

Set of Parameters

Referenced by SST::Simulation::performWireUp(), and print().

◆ rank

RankInfo SST::ConfigComponent::rank

Parallel Rank for this component

Referenced by SST::Simulation::performWireUp(), print(), and SST::ConfigGraph::setLinkNoCut().

◆ slot_num

int SST::ConfigComponent::slot_num

Slot number. Only valid for subcomponents

Referenced by print().

◆ subComponents

std::vector<ConfigComponent> SST::ConfigComponent::subComponents

List of subcomponents

Referenced by SST::ConfigGraph::enableStatisticForComponentName(), and print().

◆ type

◆ weight

float SST::ConfigComponent::weight

Parititoning weight for this component

Referenced by print(), and SST::ConfigGraph::setLinkNoCut().


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