Newer
Older
CasicIrisIdentify / utils / TimeCounterUtil.h
tanyue on 16 Dec 2023 645 bytes 20231216 debug on ubuntu arm
#ifndef TIMECOUNTERUTIL_H
#define TIMECOUNTERUTIL_H

#include <QObject>
#include <QTimer>

class TimeCounterUtil : public QObject
{
public:

    ~TimeCounterUtil() {};
    TimeCounterUtil(const TimeCounterUtil&)=delete;
    TimeCounterUtil& operator=(const TimeCounterUtil&)=delete;

    static TimeCounterUtil& getInstance() {
        static TimeCounterUtil instance;
        return instance;
    }

    QTimer * faceCapCounter;
    QTimer * irisCapCounter;
    QTimer * clockCounter;
    QTimer * videoCounter; // show video images on main window

private:
    TimeCounterUtil();

};

#endif // TIMECOUNTERUTIL_H