派生自 Algorithm/baseDetector

Scheaven
2021-06-03 168af40fe9a3cc81c6ee16b3e81f154780c36bdb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#ifndef ERRMSG_H
#define ERRMSG_H
#include <stddef.h>
#include <string>
 
class errMsg
{    
public:
    static errMsg* getInstance();
    void out(std::string file,
                std::string func,
                std::string msd,
                bool pause = true);
private:
    errMsg();
    errMsg(const errMsg&);
    errMsg& operator=(const errMsg&);
 
    static errMsg* instance;    
};
 
#endif // ERRMSG_H