projects
/
anna.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fix local server for multiple applications
[anna.git]
/
include
/
anna
/
statistics
/
Meter.hpp
diff --git
a/include/anna/statistics/Meter.hpp
b/include/anna/statistics/Meter.hpp
index
ada8afb
..
c0bb9b9
100644
(file)
--- a/
include/anna/statistics/Meter.hpp
+++ b/
include/anna/statistics/Meter.hpp
@@
-48,7
+48,7
@@
public:
/**
* Constructor.
*/
/**
* Constructor.
*/
- Meter(const std::string &
description
);
+ Meter(const std::string &
name
);
/**
* Destructor.
/**
* Destructor.
@@
-59,13
+59,13
@@
public:
/**
* Sets the time control point for processing measure
*/
/**
* Sets the time control point for processing measure
*/
- void setControlPoint(void)
throw()
{ a_meter.setControlPoint(); }
+ void setControlPoint(void) { a_meter.setControlPoint(); }
/**
* Reset sample
*/
/**
* Reset sample
*/
- void reset(void)
throw()
{ a_accumulator.reset(); }
+ void reset(void) { a_accumulator.reset(); }
/**
/**
@@
-73,7
+73,7
@@
public:
*
* @return Returns processed delay
*/
*
* @return Returns processed delay
*/
- Millisecond process(void)
throw()
{ a_accumulator.process(a_single_accumulator_concept_id, a_meter.getDelay()); return (a_meter.getDelay()); }
+ Millisecond process(void) { a_accumulator.process(a_single_accumulator_concept_id, a_meter.getDelay()); return (a_meter.getDelay()); }
/**
/**
@@
-92,7
+92,7
@@
public:
// /**
// * Gets accumulator information in order to extract statistics indicators
// */
// /**
// * Gets accumulator information in order to extract statistics indicators
// */
-// const Accumulator & getAccumulator(void) const
throw()
{ return (a_accumulator); }
+// const Accumulator & getAccumulator(void) const { return (a_accumulator); }
/**
* Gets accumulator value information (statistics indicators)
/**
* Gets accumulator value information (statistics indicators)
@@
-101,7
+101,7
@@
public:
*
* @return Value for solicited operation
*/
*
* @return Value for solicited operation
*/
- double getAccumulatorValue(const Operation::Type &operation) const
throw()
{ return (a_accumulator.getValue(a_single_accumulator_concept_id, operation)); }
+ double getAccumulatorValue(const Operation::Type &operation) const { return (a_accumulator.getValue(a_single_accumulator_concept_id, operation)); }
/**
/**
@@
-111,7
+111,7
@@
public:
*
* @return String with class content
*/
*
* @return String with class content
*/
- std::string asString(const int & numberOfDecimals = 2) const
throw()
;
+ std::string asString(const int & numberOfDecimals = 2) const ;
/**
/**
@@
-121,7
+121,7
@@
public:
*
* @return XML with class content
*/
*
* @return XML with class content
*/
- anna::xml::Node* asXML(anna::xml::Node* parent, const int & numberOfDecimals = 2) const
throw()
;
+ anna::xml::Node* asXML(anna::xml::Node* parent, const int & numberOfDecimals = 2) const ;