Class FileLogger

Class Documentation

class common::FileLogger

Public Functions

explicit FileLogger(const std::string &filename)
~FileLogger()
bool isOpen() const
void closeFile() const
void flushBuffer()
template<typename DataType>
const FileLogger &operator<<(const DataType &object) const
const FileLogger &operator<<(std::ostream &(*object)(std::ostream&)) const
const FileLogger &operator<<(std::ios_base &(*object)(std::ios_base&)) const
template<typename DataType>
void writeDataWithDelimiterAndNewLine(const std::string &delimiter, const DataType &object)
template<typename DataType>
void writeDataWithDelimiterAndNewLine(const std::string &delimiter, const std::vector<DataType> &objects)
template<typename DataType, typename ...DataTypes>
void writeDataWithDelimiterAndNewLine(const std::string &delimiter, const std::vector<DataType> &objects, const DataTypes&... more_objects)
template<typename FirstDataType, typename ...DataTypes>
void writeDataWithDelimiterAndNewLine(const std::string &delimiter, const FirstDataType &first_object, const DataTypes&... objects)
template<typename Scalar, int Rows, int Cols, int C, int D, int E>
void writeDataWithDelimiterAndNewLine(const std::string &delimiter, const Eigen::Matrix<Scalar, Rows, Cols, C, D, E> &matrix)
template<typename Scalar, int Rows, int Cols, int C, int D, int E, typename ...DataTypes>
void writeDataWithDelimiterAndNewLine(const std::string &delimiter, const Eigen::Matrix<Scalar, Rows, Cols, C, D, E> &matrix, const DataTypes&... objects)
template<typename Scalar, int Rows, int Cols, int C, int D, int E, int F, int G, bool H>
void writeDataWithDelimiterAndNewLine(const std::string &delimiter, const Eigen::Block<const Eigen::Matrix<Scalar, Rows, Cols, C, D, E>, G, F, H> &matrix)
template<typename Scalar, int Rows, int Cols, int C, int D, int E, int F, int G, bool H, typename ...DataTypes>
void writeDataWithDelimiterAndNewLine(const std::string &delimiter, const Eigen::Block<const Eigen::Matrix<Scalar, Rows, Cols, C, D, E>, G, F, H> &matrix, const DataTypes&... objects)
template<typename Scalar, int Options>
void writeDataWithDelimiterAndNewLine(const std::string &delimiter, const Eigen::Quaternion<Scalar, Options> &quaternion)
template<typename Scalar, int Options, typename ...DataTypes>
void writeDataWithDelimiterAndNewLine(const std::string &delimiter, const Eigen::Quaternion<Scalar, Options> &quaternion, DataTypes... objects)