Class CRawlogProcessor

Inheritance Relationships

Derived Type

Class Documentation

class CRawlogProcessor

A virtual class that implements the common stuff around parsing a rawlog file and (optionally) display a progress indicator to the console.

Subclassed by mrpt::apps::CRawlogProcessorOnEachObservation

Public Functions

inline CRawlogProcessor(mrpt::io::CFileGZInputStream &_in_rawlog, CLI::App &_cmdline, bool _verbose)
inline void doProcessRawlog()
virtual bool processOneEntry(mrpt::obs::CActionCollection::Ptr &actions, mrpt::obs::CSensoryFrame::Ptr &SF, mrpt::obs::CObservation::Ptr &obs) = 0
inline virtual void OnPostProcess([[maybe_unused]] mrpt::obs::CActionCollection::Ptr &actions, [[maybe_unused]] mrpt::obs::CSensoryFrame::Ptr &SF, [[maybe_unused]] mrpt::obs::CObservation::Ptr &obs)

Public Members

uint64_t m_filSize
size_t m_rawlogEntry
double m_timToParse

Protected Attributes

mrpt::io::CFileGZInputStream &m_in_rawlog
CLI::App &m_cmdline
bool verbose
mrpt::system::TTimeStamp m_last_console_update
mrpt::system::CTicTac m_timParse