tracetools  master
Tracing tools and instrumentation for ROS 2
Namespaces | Macros | Functions
utils.hpp File Reference
#include <stddef.h>
#include <functional>
#include "tracetools/config.h"
Include dependency graph for utils.hpp:

Go to the source code of this file.

Namespaces

 tracetools
 

Macros

#define TRACETOOLS_SYMBOL_UNKNOWN   "UNKNOWN"
 Default symbol, used when address resolution fails. More...
 

Functions

template<typename T , typename ... U>
const char * tracetools::get_symbol (std::function< T(U...)> f)
 Get symbol from an std::function object. More...
 
template<typename L >
const char * tracetools::get_symbol (L &&l)
 Get symbol from a function-related object. More...
 
template<typename T , typename ... U>
const char * get_symbol (std::function< T(U...)> f)
 
template<typename L >
const char * get_symbol (L &&l)
 

Macro Definition Documentation

◆ TRACETOOLS_SYMBOL_UNKNOWN

#define TRACETOOLS_SYMBOL_UNKNOWN   "UNKNOWN"

Default symbol, used when address resolution fails.

Function Documentation

◆ get_symbol() [1/2]

template<typename T , typename ... U>
const char* get_symbol ( std::function< T(U...)>  f)

◆ get_symbol() [2/2]

template<typename L >
const char* get_symbol ( L &&  l)