The Gaudi Framework
v30r3 (a5ef0a68)
|
A basic counter counting input values. More...
#include <GaudiKernel/Counters.h>
Public Member Functions | |
Counter & | operator++ () |
Counter | operator++ (int) |
std::ostream & | print (std::ostream &o, bool tableFormat=false) const override |
prints the counter to a stream More... | |
Public Member Functions inherited from Gaudi::Accumulators::BufferableCounter< Arithmetic, Atomicity, Accumulator > | |
Buffer< Arithmetic, Accumulator > | buffer () |
Public Member Functions inherited from Gaudi::Accumulators::PrintableCounter | |
PrintableCounter ()=default | |
template<class OWNER > | |
PrintableCounter (OWNER *o, const std::string &tag) | |
virtual | ~PrintableCounter ()=default |
destructor More... | |
virtual std::ostream & | print (std::ostream &o, const std::string &tag) const |
prints the counter to a stream in table format, with the given tag More... | |
std::string | toString () const |
get a string representation More... | |
Public Member Functions inherited from Gaudi::Accumulators::CountAccumulator< Arithmetic, Atomicity > | |
unsigned long | nEntries () const |
Public Member Functions inherited from Gaudi::Accumulators::GenericAccumulator< InputType, InnerType, Atomicity, InputTransform, OutputTransform, ValueHandler > | |
GenericAccumulator | operator+= (const InputType by) |
GenericAccumulator () | |
GenericAccumulator (const GenericAccumulator &other) | |
GenericAccumulator & | operator= (const GenericAccumulator &other) |
OutputType | value () const |
void | reset () |
template<atomicity ato, typename VH > | |
void | mergeAndReset (GenericAccumulator< InputType, InnerType, ato, InputTransform, OutputTransform, VH > &&other) |
Additional Inherited Members | |
Public Types inherited from Gaudi::Accumulators::GenericAccumulator< InputType, InnerType, Atomicity, InputTransform, OutputTransform, ValueHandler > | |
using | OutputType = std::decay_t< std::result_of_t< OutputTransform(InnerType)>> |
Protected Member Functions inherited from Gaudi::Accumulators::GenericAccumulator< InputType, InnerType, Atomicity, InputTransform, OutputTransform, ValueHandler > | |
void | reset (InnerType in) |
A basic counter counting input values.
Definition at line 658 of file Counters.h.
|
inline |
Definition at line 660 of file Counters.h.
|
inline |
Definition at line 665 of file Counters.h.
|
inlineoverridevirtual |
prints the counter to a stream
Implements Gaudi::Accumulators::PrintableCounter.
Definition at line 672 of file Counters.h.