struct mrpt::system::CTimeLoggerSaveAtDtor¶

A helper class to save CSV stats upon self destruction, for example, at the end of a program run.

The target file will be named after timelogger’s name.

#include <mrpt/system/CTimeLogger.h>

struct CTimeLoggerSaveAtDtor
{
    //
fields

    mrpt::system::CTimeLogger& m_tm;

    // construction

    CTimeLoggerSaveAtDtor(mrpt::system::CTimeLogger& tm);
};