SST::Statistics::Statistic< T > Class Template Reference

Forms the template defined base class for statistics gathering within SST. More...

#include <statbase.h>

Inheritance diagram for SST::Statistics::Statistic< T >:
SST::Statistics::StatisticBase SST::Statistics::NullStatistic< T > SST::Statistics::UniqueCountStatistic< T >

Public Member Functions

void addData (T data)
 Add data to the Statistic This will call the addData_impl() routine in the derived Statistic.

Protected Member Functions

 Statistic (Component *comp, std::string &statName, std::string &statSubId, Params &statParams)
 Construct a Statistic.

Friends

class SST::Component
class boost::serialization::access

Detailed Description

template<typename T>
class SST::Statistics::Statistic< T >

Forms the template defined base class for statistics gathering within SST.

Template Parameters:
T A template for the basic numerical data stored by this Statistic

Constructor & Destructor Documentation

template<typename T>
SST::Statistics::Statistic< T >::Statistic ( Component comp,
std::string &  statName,
std::string &  statSubId,
Params statParams 
) [inline, protected]

Construct a Statistic.

Parameters:
comp - Pointer to the parent constructor.
statName - Name of the statistic to be registered. This name must match the name in the ElementInfoStatistic.
statSubId - Additional name of the statistic
statParams - The parameters for this statistic

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

Generated on 14 Sep 2015 for SST by  doxygen 1.6.1