//------------------------------------------------------------------------------
// Default Constructor
-Meter::Meter(const std::string & description) : a_accumulator(description) {
+Meter::Meter(const std::string & name) : a_accumulator(name) {
Engine& statsEngine = Engine::instantiate();
- a_single_accumulator_concept_id = statsEngine.addConcept(description, "ms", true);
+ a_single_accumulator_concept_id = statsEngine.addConcept(name, "ms", true);
}
//------------------------------------------------------------------------------
//------------------------------------------------------------ Meter::asString()
//------------------------------------------------------------------------------
-std::string Meter::asString(const int & numberOfDecimals) const throw() {
+std::string Meter::asString(const int & numberOfDecimals) const {
std::string trace;
trace = "\n=====";
trace += "\nMeter";
//------------------------------------------------------------------------------
//--------------------------------------------------------------- Meter::asXML()
//------------------------------------------------------------------------------
-anna::xml::Node* Meter::asXML(anna::xml::Node* parent, const int & numberOfDecimals) const throw() {
+anna::xml::Node* Meter::asXML(anna::xml::Node* parent, const int & numberOfDecimals) const {
anna::xml::Node* result = parent->createChild("anna.statistics.Meter");
return (a_accumulator.asXML(result, numberOfDecimals));
}