#include <mc_rtc/log/utils.h>
#include <mc_rtc/logging.h>
#include <mc_rtc/utils_api.h>
#include <mc_rtc/Configuration.h>
#include <memory>
#include <unordered_map>
#include <variant>
Go to the source code of this file.
◆ MC_RTC_LOG_GETTER
#define MC_RTC_LOG_GETTER |
( |
|
NAME, |
|
|
|
METHOD |
|
) |
| |
Value: do { \
using MethodRetT = decltype(this->METHOD()); \
logger.addLogEntry(NAME, this, [this]() -> MethodRetT { return METHOD(); }); \
} while(0)
Helper to log ambiguous getter methods
◆ MC_RTC_LOG_HELPER
#define MC_RTC_LOG_HELPER |
( |
|
NAME, |
|
|
|
MEMBER |
|
) |
| |
Value: do { \
using ThisT = typename std::remove_pointer<decltype(this)>::type; \
} while(0)
Helper to log members or methods with "this" source to the logger variable