class mrpt::apps::CRawlogProcessorOnEachObservation

#include <mrpt/apps/CRawlogProcessor.h>

class CRawlogProcessorOnEachObservation: public mrpt::apps::CRawlogProcessor
{
public:
    //
fields

    uint64_t m_filSize;
    size_t m_rawlogEntry;
    double m_timToParse;

    // construction

    CRawlogProcessorOnEachObservation(
        mrpt::io::CFileGZInputStream& in_rawlog,
        TCLAP::CmdLine& cmdline,
        bool enable_verbose
        );

    //
methods

    bool processOneEntry(
        ] mrpt::obs::CActionCollection::Ptr& actions,
        mrpt::obs::CSensoryFrame::Ptr& SF,
        mrpt::obs::CObservation::Ptr& obs
        );

    virtual bool processOneObservation(mrpt::obs::CObservation::Ptr& obs) = 0;
    virtual bool processOneAction(mrpt::obs::CAction::Ptr&);
    void doProcessRawlog();

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

    virtual void OnPostProcess(
        ] mrpt::obs::CActionCollection::Ptr& actions,
        ] mrpt::obs::CSensoryFrame::Ptr& SF,
        ] mrpt::obs::CObservation::Ptr& obs
        );
};

// direct descendants

class CRawlogProcessorFilterObservations;