| The Gaudi Framework v32r1 (f65d50dc)

Static Public Member Functions | List of all members
Gaudi::Accumulators::Adder< Arithmetic, atomicity::none > Struct Template Reference

Adder specialization in the case of atomicity none. More...

`#include <GaudiKernel/Counters.h>`

Inheritance diagram for Gaudi::Accumulators::Adder< Arithmetic, atomicity::none >:
[legend]
Collaboration diagram for Gaudi::Accumulators::Adder< Arithmetic, atomicity::none >:
[legend]

## Static Public Member Functions
static constexpr OutputType | DefaultValue ()
static void | merge (InternalType &a, Arithmetic b) noexcept
Static Public Member Functions inherited from Gaudi::Accumulators::BaseValueHandler< Arithmetic, atomicity::none >
static constexpr OutputType | getValue (const InternalType &v) noexcept
static Arithmetic | exchange (InternalType &v, Arithmetic newv) noexcept

## Additional Inherited Members
Public Types inherited from Gaudi::Accumulators::BaseValueHandler< Arithmetic, atomicity::none >
using | OutputType = Arithmetic
using | InternalType = Arithmetic

## Detailed Description

### template<typename Arithmetic>
struct Gaudi::Accumulators::Adder< Arithmetic, atomicity::none >

Adder specialization in the case of atomicity none.

Definition at line 241 of file Counters.h.

## Member Function Documentation

## ◆ DefaultValue()

template<typename Arithmetic >

static constexpr OutputType Gaudi::Accumulators::Adder< Arithmetic, atomicity::none >::DefaultValue | ( |  | ) |
| inline static

Definition at line 244 of file Counters.h.

244 { return Arithmetic{}; }

## ◆ merge()

template<typename Arithmetic >

static void Gaudi::Accumulators::Adder< Arithmetic, atomicity::none >::merge | ( | InternalType & | a,
|  | Arithmetic | b
| ) |  |
| inline static noexcept

Definition at line 245 of file Counters.h.

245 { a += b; };

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

- GaudiKernel/GaudiKernel/Counters.h