class mrpt::apps::CRawlogProcessor

Overview

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

#include <mrpt/apps/CRawlogProcessor.h>

class CRawlogProcessor
{
public:
    // construction

    CRawlogProcessor(
        mrpt::io::CFileGZInputStream& _in_rawlog,
        TCLAP::CmdLine& _cmdline,
        bool _verbose
        );

    // methods

    virtual bool processOneEntry(
        mrpt::obs::CActionCollection::Ptr& actions,
        mrpt::obs::CSensoryFrame::Ptr& SF,
        mrpt::obs::CObservation::Ptr& obs
        ) = 0;
};

// direct descendants

class CRawlogProcessorOnEachObservation;