2017-11-27 07:04:10 +00:00
|
|
|
#ifndef LOGENTRYSTATTRAF_H
|
|
|
|
#define LOGENTRYSTATTRAF_H
|
|
|
|
|
|
|
|
#include "logentry.h"
|
|
|
|
|
|
|
|
class LogEntryStatTraf : public LogEntry
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
explicit LogEntryStatTraf(quint16 procCount = 0,
|
2018-02-26 10:11:45 +00:00
|
|
|
const quint32 *procTrafBytes = nullptr);
|
2017-11-27 07:04:10 +00:00
|
|
|
|
2019-02-08 08:19:20 +00:00
|
|
|
LogEntry::LogType type() const override { return StatTraf; }
|
2017-11-27 07:04:10 +00:00
|
|
|
|
|
|
|
quint16 procCount() const { return m_procCount; }
|
|
|
|
void setProcCount(quint16 procCount);
|
|
|
|
|
2018-02-26 10:11:45 +00:00
|
|
|
const quint32 *procTrafBytes() const { return m_procTrafBytes; }
|
|
|
|
void setProcTrafBytes(const quint32 *procTrafBytes);
|
2017-11-27 07:04:10 +00:00
|
|
|
|
|
|
|
private:
|
|
|
|
quint16 m_procCount;
|
2018-02-26 10:11:45 +00:00
|
|
|
const quint32 *m_procTrafBytes;
|
2017-11-27 07:04:10 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif // LOGENTRYSTATTRAF_H
|