27 lines
529 B
C++
27 lines
529 B
C++
#ifndef ALERTMESSAGE_H
|
|
#define ALERTMESSAGE_H
|
|
|
|
#include "AbstractSpectrumDataMessage.h"
|
|
#include "DataManager_Define.h"
|
|
#include <QTextStream>
|
|
|
|
class AlertMessage : public AbstractSpectrumDataMessage
|
|
{
|
|
public:
|
|
explicit AlertMessage();
|
|
~AlertMessage();
|
|
|
|
virtual bool IsValid();
|
|
const AlertData::AlertsInfo& GetAlertsInfo();
|
|
virtual void ClearData();
|
|
|
|
private:
|
|
bool AnalyseMessgeBody(QTextStream& content);
|
|
|
|
private:
|
|
bool bIsValid;
|
|
AlertData::AlertsInfo alerts_info;
|
|
};
|
|
|
|
#endif // ALERTMESSAGE_H
|