#include <boost/lexical_cast.hpp>
Go to the source code of this file.
|
| template<typename T > |
| std::string | dunedaq::timing::to_string (const T &v) |
| |
| template<typename M > |
| bool | dunedaq::timing::map_value_comparator (typename M::value_type &p1, typename M::value_type &p2) |
| |
| template<typename T > |
| std::vector< T > | dunedaq::timing::sanitize (const std::vector< T > &vec) |
| |
| template<typename T , typename U > |
| T | dunedaq::timing::safe_enum_cast (const U &value, const std::vector< T > &valid, const T &def) |
| |
| template<typename C > |
| std::string | dunedaq::timing::join (const C &strings, const std::string &delimiter=" ") |
| | Converts a vector of strings in a delimiter-separated string.
|
| |
| template<class T > |
| std::string | dunedaq::timing::format_reg_value (T reg_value, uint32_t base) |
| |
| template<> |
| std::string | dunedaq::timing::format_reg_value (std::string reg_value, uint32_t) |
| |
| template<> |
| std::string | dunedaq::timing::format_reg_value (uhal::ValWord< uint32_t > reg_value, uint32_t base) |
| |
| template<class T > |
| std::string | dunedaq::timing::format_reg_table (T data, std::string title="", std::vector< std::string > headers={ "Register", "Value" }) |
| | Format reg-value table.
|
| |
| template<class T > |
| std::string | dunedaq::timing::format_counters_table (std::vector< T > counters, std::vector< std::string > counter_node_titles={}, std::string table_title="", std::vector< std::string > counter_labels={}, std::string counter_labels_header="Cmd") |
| | Format reg-value table.
|
| |
| template<typename T > |
| std::string | dunedaq::timing::vec_fmt (const std::vector< T > &vec) |
| |
| template<typename T > |
| std::string | dunedaq::timing::short_vec_fmt (const std::vector< T > &vec) |
| |