SST
9.0.0
StructuralSimulationToolkit
|
Represents the configuration of a generic component. More...
#include <configGraph.h>
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) |
ConfigComponent * | addSubComponent (ComponentId_t, const std::string &name, const std::string &type, int slot) |
ConfigComponent * | findSubComponent (ComponentId_t) |
const ConfigComponent * | findSubComponent (ComponentId_t) const |
void | enableStatistic (const std::string &statisticName, bool recursively=false) |
void | addStatisticParameter (const std::string &statisticName, const std::string ¶m, const std::string &value, bool recursively=false) |
void | setStatisticParameters (const std::string &statisticName, const Params ¶ms, bool recursively=false) |
std::vector< LinkId_t > | allLinks () const |
void | serialize_order (SST::Core::Serialization::serializer &ser) override |
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 |
ConfigComponent * | ulitmate_parent |
std::string | name |
int | slot_num |
std::string | type |
float | weight |
RankInfo | rank |
std::vector< LinkId_t > | links |
Params | params |
std::vector < Statistics::StatisticInfo > | enabledStatistics |
std::vector< ConfigComponent > | subComponents |
std::vector< double > | coords |
uint16_t | nextSubID |
Static Public Attributes | |
static constexpr ComponentId_t | null_id = std::numeric_limits<ComponentId_t>::max() |
Static Public Attributes inherited from SST::Core::Serialization::serializable | |
static constexpr uint32_t | NullClsId = std::numeric_limits<uint32_t>::max() |
Friends | |
class | ConfigGraph |
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) |
Represents the configuration of a generic component.
std::vector<Statistics::StatisticInfo> SST::ConfigComponent::enabledStatistics |
List of statistics to be enabled
ComponentId_t SST::ConfigComponent::id |
Unique ID of this component
Referenced by SST::ConfigGraph::checkForStructuralErrors(), and SST::Simulation::performWireUp().
std::vector<LinkId_t> SST::ConfigComponent::links |
List of links connected
Referenced by SST::ConfigGraph::checkForStructuralErrors().
std::string SST::ConfigComponent::name |
Name of this component, or slot name for subcomp
Referenced by SST::ConfigGraph::checkForStructuralErrors(), SST::Simulation::performWireUp(), and SST::ConfigStatGroup::verifyStatsAndComponents().
uint16_t SST::ConfigComponent::nextSubID |
Next subID to use for children
Params SST::ConfigComponent::params |
Set of Parameters
Referenced by SST::Simulation::performWireUp().
RankInfo SST::ConfigComponent::rank |
Parallel Rank for this component
Referenced by SST::Simulation::performWireUp().
int SST::ConfigComponent::slot_num |
Slot number. Only valid for subcomponents
std::vector<ConfigComponent> SST::ConfigComponent::subComponents |
List of subcomponents
std::string SST::ConfigComponent::type |
Type of this component
Referenced by SST::ConfigGraph::checkForStructuralErrors(), SST::Simulation::performWireUp(), and SST::ConfigStatGroup::verifyStatsAndComponents().
ConfigComponent* SST::ConfigComponent::ulitmate_parent |
Ultimate parent of this component
float SST::ConfigComponent::weight |
Partitioning weight for this component