Class DataLogger

Inheritance Relationships

Derived Types

Class Documentation

class DataLogger

Subclassed by lupnt::Agent, lupnt::Device, lupnt::Filter

Public Types

using MatrixMap = std::unordered_map<std::string, std::vector<Eigen::MatrixXd>>
using DoubleMap = std::unordered_map<std::string, std::vector<double>>
using StringMap = std::unordered_map<std::string, std::vector<std::string>>

Public Functions

virtual void Log(Real time) = 0

Public Static Functions

static void SetOutputFile(const std::filesystem::path &filename)
static void Log(const std::string &name, double value)
static void Log(const std::string &name, Real value)
static void Log(const std::string &name, const std::string &value)
static void LogState(const std::string &parent, const State &state)
template<typename Derived>
static inline void Log(const std::string &name, const Eigen::DenseBase<Derived> &value)
static void Flush()
template<typename ...Args>
static inline void LogHelper(const std::string &id, const std::string &names, const Args&... args)