Namespaces | |
details | |
Classes | |
struct | callback_is_serializable |
struct | FlatLog |
struct | GetLogType |
struct | GetLogType< Eigen::Matrix< double, N, 1, _Options, _MaxRows, _MaxCols > > |
struct | GetLogType< Eigen::Ref< Type, Options, StrideType > > |
struct | GetLogType< std::array< double, N > > |
struct | GetLogType< std::vector< double, A > > |
struct | is_serializable |
struct | is_serializable_getter |
struct | is_serializable_getter< MethodRetT(T::*)() const > |
struct | is_serializable_member |
struct | is_serializable_member< MemberT T::* > |
struct | IterateBinaryLogData |
struct | log_type_to_type |
struct | LogWriter |
Typedefs | |
using | copy_callback = std::function< void(mc_rtc::MessagePackBuilder &, const std::vector< std::string > &)> |
using | iterate_binary_log_callback = std::function< bool(IterateBinaryLogData)> |
using | binary_log_callback = std::function< bool(const std::vector< std::string > &, std::vector< FlatLog::record > &, double)> |
using | binary_log_copy_callback = std::function< bool(const std::vector< std::string > &, std::vector< FlatLog::record > &, double, const copy_callback &, const char *, uint64_t)> |
template<typename... > | |
using | void_t = void |
template<LogType type> | |
using | log_type_to_type_t = typename log_type_to_type< type >::type |
Functions | |
MC_RTC_UTILS_DLLAPI void | deprecated (const std::string &source, const std::string &old, const std::string &replace) |
bool MC_RTC_UTILS_DLLAPI | iterate_binary_log (const std::string &fpath, const iterate_binary_log_callback &callback, bool extract, const std::string &time="t") |
bool | iterate_binary_log (const std::string &fpath, const binary_log_copy_callback &callback, bool extract, const std::string &time="t") |
bool | iterate_binary_log (const std::string &fpath, const binary_log_callback &callback, bool extract, const std::string &time="t") |
const char ** | LogTypeNames () |
const char * | LogTypeName (LogType t) |
IMPL_MAPPING (bool, Bool) | |
IMPL_MAPPING (int8_t, Int8_t) | |
IMPL_MAPPING (int16_t, Int16_t) | |
IMPL_MAPPING (int32_t, Int32_t) | |
IMPL_MAPPING (int64_t, Int64_t) | |
IMPL_MAPPING (uint8_t, Uint8_t) | |
IMPL_MAPPING (uint16_t, Uint16_t) | |
IMPL_MAPPING (uint32_t, Uint32_t) | |
IMPL_MAPPING (uint64_t, Uint64_t) | |
IMPL_MAPPING (float, Float) | |
IMPL_MAPPING (double, Double) | |
IMPL_MAPPING (std::string, String) | |
IMPL_MAPPING (Eigen::Vector2d, Vector2d) | |
IMPL_MAPPING (Eigen::Vector3d, Vector3d) | |
IMPL_MAPPING (Eigen::Vector6d, Vector6d) | |
IMPL_MAPPING (Eigen::VectorXd, VectorXd) | |
IMPL_MAPPING (Eigen::Quaterniond, Quaterniond) | |
IMPL_MAPPING (sva::PTransformd, PTransformd) | |
IMPL_MAPPING (sva::ForceVecd, ForceVecd) | |
IMPL_MAPPING (sva::MotionVecd, MotionVecd) | |
IMPL_MAPPING (sva::ImpedanceVecd, MotionVecd) | |
IMPL_MAPPING (mc_rbdyn::Gains2d, Vector2d) | |
IMPL_MAPPING (mc_rbdyn::Gains3d, Vector3d) | |
IMPL_MAPPING (mc_rbdyn::Gains6d, Vector6d) | |
IMPL_MAPPING (Bool, bool) | |
IMPL_MAPPING (Int8_t, int8_t) | |
IMPL_MAPPING (Int16_t, int16_t) | |
IMPL_MAPPING (Int32_t, int32_t) | |
IMPL_MAPPING (Int64_t, int64_t) | |
IMPL_MAPPING (Uint8_t, uint8_t) | |
IMPL_MAPPING (Uint16_t, uint16_t) | |
IMPL_MAPPING (Uint32_t, uint32_t) | |
IMPL_MAPPING (Uint64_t, uint64_t) | |
IMPL_MAPPING (Float, float) | |
IMPL_MAPPING (Double, double) | |
IMPL_MAPPING (String, std::string) | |
IMPL_MAPPING (Vector2d, Eigen::Vector2d) | |
IMPL_MAPPING (Vector3d, Eigen::Vector3d) | |
IMPL_MAPPING (Vector6d, Eigen::Vector6d) | |
IMPL_MAPPING (VectorXd, Eigen::VectorXd) | |
IMPL_MAPPING (Quaterniond, Eigen::Quaterniond) | |
IMPL_MAPPING (PTransformd, sva::PTransformd) | |
IMPL_MAPPING (ForceVecd, sva::ForceVecd) | |
IMPL_MAPPING (MotionVecd, sva::MotionVecd) | |
IMPL_MAPPING (VectorDouble, std::vector< double >) | |
template<typename ExceptionT = std::runtime_error, typename... Args> | |
void | error_and_throw (Args &&... args) |
template<typename... Args> | |
void | critical (Args &&... args) |
template<typename... Args> | |
void | error (Args &&... args) |
template<typename... Args> | |
void | warning (Args &&... args) |
template<typename... Args> | |
void | info (Args &&... args) |
template<typename... Args> | |
void | success (Args &&... args) |
template<typename... Args> | |
void | notify (Args &&... args) |
using mc_rtc::log::binary_log_callback = typedef std::function<bool(const std::vector<std::string> &, std::vector<FlatLog::record> &, double)> |
using mc_rtc::log::binary_log_copy_callback = typedef std::function<bool(const std::vector<std::string> &, std::vector<FlatLog::record> &, double, const copy_callback &, const char *, uint64_t)> |
using mc_rtc::log::copy_callback = typedef std::function<void(mc_rtc::MessagePackBuilder &, const std::vector<std::string> &)> |
using mc_rtc::log::iterate_binary_log_callback = typedef std::function<bool(IterateBinaryLogData)> |
using mc_rtc::log::log_type_to_type_t = typedef typename log_type_to_type<type>::type |
using mc_rtc::log::void_t = typedef void |
|
strong |
void mc_rtc::log::critical | ( | Args &&... | args | ) |
MC_RTC_UTILS_DLLAPI void mc_rtc::log::deprecated | ( | const std::string & | source, |
const std::string & | old, | ||
const std::string & | replace | ||
) |
Used when replace
should be used instead of old
void mc_rtc::log::error | ( | Args &&... | args | ) |
void mc_rtc::log::error_and_throw | ( | Args &&... | args | ) |
mc_rtc::log::IMPL_MAPPING | ( | bool | , |
Bool | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Bool | , |
bool | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | double | , |
Double | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Double | , |
double | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Eigen::Quaterniond | , |
Quaterniond | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Eigen::Vector2d | , |
Vector2d | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Eigen::Vector3d | , |
Vector3d | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Eigen::Vector6d | , |
Vector6d | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Eigen::VectorXd | , |
VectorXd | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | float | , |
Float | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Float | , |
float | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | ForceVecd | , |
sva::ForceVecd | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | int16_t | , |
Int16_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Int16_t | , |
int16_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | int32_t | , |
Int32_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Int32_t | , |
int32_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | int64_t | , |
Int64_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Int64_t | , |
int64_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | int8_t | , |
Int8_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Int8_t | , |
int8_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | mc_rbdyn::Gains2d | , |
Vector2d | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | mc_rbdyn::Gains3d | , |
Vector3d | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | mc_rbdyn::Gains6d | , |
Vector6d | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | MotionVecd | , |
sva::MotionVecd | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | PTransformd | , |
sva::PTransformd | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Quaterniond | , |
Eigen::Quaterniond | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | std::string | , |
String | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | String | , |
std::string | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | sva::ForceVecd | , |
ForceVecd | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | sva::ImpedanceVecd | , |
MotionVecd | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | sva::MotionVecd | , |
MotionVecd | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | sva::PTransformd | , |
PTransformd | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | uint16_t | , |
Uint16_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Uint16_t | , |
uint16_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | uint32_t | , |
Uint32_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Uint32_t | , |
uint32_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | uint64_t | , |
Uint64_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Uint64_t | , |
uint64_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | uint8_t | , |
Uint8_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Uint8_t | , |
uint8_t | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Vector2d | , |
Eigen::Vector2d | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Vector3d | , |
Eigen::Vector3d | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | Vector6d | , |
Eigen::Vector6d | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | VectorDouble | , |
std::vector< double > | |||
) |
mc_rtc::log::IMPL_MAPPING | ( | VectorXd | , |
Eigen::VectorXd | |||
) |
void mc_rtc::log::info | ( | Args &&... | args | ) |
|
inline |
Provided for backward compatibility
|
inline |
Provided for backward compatibility
bool MC_RTC_UTILS_DLLAPI mc_rtc::log::iterate_binary_log | ( | const std::string & | fpath, |
const iterate_binary_log_callback & | callback, | ||
bool | extract, | ||
const std::string & | time = "t" |
||
) |
Iterate over a given binary log data
For each entry in the log, this will call the provided callback see IterateBinaryLogData for a documentation of the data available
If the callback returns false the parsing is interrupted.
|
inline |
|
inline |
void mc_rtc::log::notify | ( | Args &&... | args | ) |
void mc_rtc::log::success | ( | Args &&... | args | ) |
void mc_rtc::log::warning | ( | Args &&... | args | ) |