The Gaudi Framework  v31r0 (aeb156f0)
Gaudi::Accumulators::BufferableCounter< Arithmetic, Atomicity, Accumulator > Struct Template Reference

An empty ancester of all counters that provides a buffer method that returns a buffer on itself. More...

#include <GaudiKernel/Counters.h>

Inheritance diagram for Gaudi::Accumulators::BufferableCounter< Arithmetic, Atomicity, Accumulator >:
Collaboration diagram for Gaudi::Accumulators::BufferableCounter< Arithmetic, Atomicity, Accumulator >:

Public Member Functions

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...
 
template<typename stream >
stream & printImpl (stream &s, const std::string &tag) const
 
virtual std::ostreamprint (std::ostream &, bool tableFormat=false) const =0
 prints the counter to a stream More...
 
virtual MsgStreamprint (MsgStream &, bool tableFormat=true) const =0
 
virtual std::ostreamprint (std::ostream &o, const std::string &tag) const
 prints the counter to a stream in table format, with the given tag More...
 
virtual MsgStreamprint (MsgStream &o, const std::string &tag) const
 
virtual bool toBePrinted () const
 hint whether we should print that counter or not. More...
 
std::string toString () const
 get a string representation More...
 

Detailed Description

template<typename Arithmetic, atomicity Atomicity, template< typename Int, atomicity Ato > class Accumulator>
struct Gaudi::Accumulators::BufferableCounter< Arithmetic, Atomicity, Accumulator >

An empty ancester of all counters that provides a buffer method that returns a buffer on itself.

See also
Gaudi::Accumulators for detailed documentation

Definition at line 661 of file Counters.h.

Member Function Documentation

template<typename Arithmetic, atomicity Atomicity, template< typename Int, atomicity Ato > class Accumulator>
Buffer<Arithmetic, Accumulator> Gaudi::Accumulators::BufferableCounter< Arithmetic, Atomicity, Accumulator >::buffer ( )
inline

Definition at line 663 of file Counters.h.

663 { return {*static_cast<Accumulator<Arithmetic, Atomicity>*>( this )}; }

The documentation for this struct was generated from the following file: