|
template<typename OWNER > |
| Counter (OWNER *o, std::string const &name) |
|
Counter & | operator++ () |
|
Counter & | operator+= (const Arithmetic v) |
|
template<typename stream > |
stream & | printImpl (stream &o, bool tableFormat) const |
|
std::ostream & | print (std::ostream &o, bool tableFormat=false) const override |
| prints the counter to a stream More...
|
|
MsgStream & | print (MsgStream &o, bool tableFormat=false) const override |
|
bool | toBePrinted () const override |
| hint whether we should print that counter or not. More...
|
|
| BufferableCounter ()=default |
|
| BufferableCounter (OWNER *o, std::string const &name) |
|
| BufferableCounter (BufferableCounter const &)=delete |
|
BufferType | buffer () |
|
BufferableCounter & | operator= (BufferableCounter const &)=delete |
|
| ~BufferableCounter () |
|
| PrintableCounter ()=default |
|
virtual | ~PrintableCounter ()=default |
| destructor More...
|
|
template<typename stream > |
stream & | printImpl (stream &s, std::string_view tag) const |
|
virtual std::ostream & | print (std::ostream &o, std::string_view tag) const |
| prints the counter to a stream in table format, with the given tag More...
|
|
virtual MsgStream & | print (MsgStream &o, std::string_view tag) const |
|
std::string | toString () const |
| get a string representation More...
|
|
IntegralAccumulator & | operator++ () |
|
IntegralAccumulator | operator++ (int) |
|
Args... | nEntries () const |
|
Args... | sum () const |
|
| GenericAccumulator ()=default |
|
| GenericAccumulator (construct_empty_t, const GenericAccumulator< InputType, Args..., ato, Identity, Identity, VH > &) |
| constructor of an empty GenericAccumulator, copying the (non existent) config from another GenericAccumulator More...
|
|
| GenericAccumulator (std::in_place_t, Args &&... args) |
|
| GenericAccumulator (const GenericAccumulator &other) |
|
GenericAccumulator | operator+= (const InputType by) |
|
GenericAccumulator & | operator= (const GenericAccumulator &other) |
|
OutputType | value () const |
|
void | reset () |
|
void | mergeAndReset (GenericAccumulator< InputType, Args..., ato, Identity, Identity, VH > &other) |
|
void | operator+ (GenericAccumulator< InputType, Args..., ato, Identity, Identity, VH > &&other) |
|
template<atomicity Atomicity = atomicity::full, typename Arithmetic = unsigned long>
struct Gaudi::Accumulators::Counter< Atomicity, Arithmetic >
A basic integral counter;.
- See also
- Gaudi::Accumulators for detailed documentation
Definition at line 943 of file Accumulators.h.