SST 12.1.0
Structural Simulation Toolkit
SST::Statistics::NullStatistic< T > Class Template Reference

An empty statistic place holder. More...

#include <statnull.h>

Inheritance diagram for SST::Statistics::NullStatistic< T >:
SST::Statistics::NullStatisticBase< T, B >

Public Member Functions

 SST_ELI_DECLARE_STATISTIC_TEMPLATE (NullStatistic, "sst", "NullStatistic", SST_ELI_ELEMENT_VERSION(1, 0, 0), "Null object it ignore all collections", "SST::Statistic<T>") NullStatistic(BaseComponent *comp
 

Data Fields

const std::string & statName
 
const std::string const std::string & statSubId
 
const std::string const std::string ParamsstatParam: NullStatisticBase<T>(comp
 
const std::string const std::string Params statName
 
const std::string const std::string Params statSubId
 
const std::string const std::string Params statParam
 

Detailed Description

template<class T>
class SST::Statistics::NullStatistic< T >

An empty statistic place holder.

Template Parameters
TA template for holding the main data type of this statistic

Field Documentation

◆ statParam

template<class T >
const std::string const std::string Params SST::Statistics::NullStatistic< T >::statParam
Initial value:
{}
void clearStatisticData() override
{
}
void registerOutputFields(StatisticFieldsOutput* UNUSED(statOutput)) override
{
}
void outputStatisticFields(StatisticFieldsOutput* UNUSED(statOutput), bool UNUSED(EndOfSimFlag)) override
{
}
bool isReady() const override { return true; }
bool isNullStatistic() const override { return true; }
static bool isLoaded() { return loaded_; }
private:
static bool loaded_
An empty statistic place holder.
Definition: statnull.h:97

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