Go to the documentation of this file.
19 const std::vector<std::string> &
keys;
25 std::optional<double>
time;
33 const std::optional<Logger::Meta> &
meta;
39 std::function<bool(
const std::vector<std::string> &, std::vector<FlatLog::record> &,
double)>;
42 std::vector<FlatLog::record> &,
60 const std::string & time =
"t");
66 const std::string & time =
"t")
81 const std::string & time =
"t")
85 {
return callback(data.
keys, data.
records, data.
time.value_or(-1)); }, extract, time);
Definition: MessagePackBuilder.h:86
Definition: iterate_binary_log.h:16
size_t raw_data_size
Definition: iterate_binary_log.h:31
std::function< bool(IterateBinaryLogData)> iterate_binary_log_callback
Definition: iterate_binary_log.h:36
std::optional< double > time
Definition: iterate_binary_log.h:25
std::function< void(mc_rtc::MessagePackBuilder &, const std::vector< std::string > &)> copy_callback
Definition: iterate_binary_log.h:13
const char * raw_data
Definition: iterate_binary_log.h:29
const std::vector< std::string > & keys
Definition: iterate_binary_log.h:19
#define MC_RTC_UTILS_DLLAPI
Definition: utils_api.h:50
std::vector< FlatLog::record > & records
Definition: iterate_binary_log.h:21
const copy_callback & copy_cb
Definition: iterate_binary_log.h:27
Definition: deprecated.h:15
std::function< bool(const std::vector< std::string > &, std::vector< FlatLog::record > &, double)> binary_log_callback
Definition: iterate_binary_log.h:39
const std::optional< Logger::Meta > & meta
Definition: iterate_binary_log.h:33
std::vector< Logger::GUIEvent > & gui_events
Definition: iterate_binary_log.h:23
std::function< bool(const std::vector< std::string > &, std::vector< FlatLog::record > &, double, const copy_callback &, const char *, uint64_t)> binary_log_copy_callback
Definition: iterate_binary_log.h:46
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")