The Sparta Modeling Framework
Loading...
Searching...
No Matches
StatisticSnapshot.hpp
1
// <StatisticSnapshot> -*- C++ -*-
2
3
#pragma once
4
5
namespace
sparta
{
6
namespace
statistics {
7
17
class
StatisticSnapshot
18
{
19
public
:
20
explicit
StatisticSnapshot
(
double
& value) :
21
value_(value)
22
{}
23
24
inline
double
takeSnapshot(
const
double
value) {
25
value_ = value;
26
return
value_;
27
}
28
29
private
:
30
double
& value_;
31
};
32
33
}
// namespace statistics
34
}
// namespace sparta
35
sparta::statistics::StatisticSnapshot
User-friendly wrapper around a double reference. This is like a std::reference_wrapper that connects ...
Definition
StatisticSnapshot.hpp:18
sparta
Macros for handling exponential backoff.
Definition
AppTriggers.hpp:22
sparta
statistics
dispatch
StatisticSnapshot.hpp
Generated on Mon Nov 11 2024 22:59:36 for The Sparta Modeling Framework by
1.9.8