|
tracetools
master
Tracing tools and instrumentation for ROS 2
|

Go to the source code of this file.
Macros | |
| #define | SYMBOL_UNKNOWN "UNKNOWN" |
| Default symbol, used when address resolution fails. More... | |
Functions | |
| template<typename T , typename ... U> | |
| const char * | get_symbol (std::function< T(U...)> f) |
| Get symbol from an std::function object. More... | |
| template<typename L > | |
| const char * | get_symbol (L &&l) |
| Get symbol from a function-related object. More... | |
| #define SYMBOL_UNKNOWN "UNKNOWN" |
Default symbol, used when address resolution fails.
| const char* get_symbol | ( | std::function< T(U...)> | f | ) |
Get symbol from an std::function object.
If function address resolution or symbol demangling fails, this will return a string that starts with SYMBOL_UNKNOWN.
| [in] | f | the std::function object |
| const char* get_symbol | ( | L && | l | ) |
Get symbol from a function-related object.
Fallback meant for lambdas with captures.
| [in] | l | a generic object |
1.8.17