Monitoring  3.3.4
O2 Monitoring library
o2::monitoring::VariantVisitorAdd Class Reference

Adds boost variants. More...

#include <VariantVisitorAdd.h>

Collaboration diagram for o2::monitoring::VariantVisitorAdd:

Public Member Functions

template<typename T , typename = typename std::enable_if<std::is_arithmetic<T>::value, T>::type>
std::variant< int, std::string, double, uint64_t > operator() (const T &a, const T &b) const
 Overloads operator() that sums numeric values.
 
template<typename T , typename U >
std::variant< int, std::string, double, uint64_t > operator() (const T &, const U &) const
 

Detailed Description

Adds boost variants.

Member Function Documentation

template<typename T , typename U >
std::variant<int, std::string, double, uint64_t> o2::monitoring::VariantVisitorAdd::operator() ( const T &  ,
const U &   
) const
inline

If arguments have different type an exception is raised

Exceptions
MonitoringException

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