mirror of
https://github.com/tnodir/fort
synced 2024-11-16 19:05:44 +00:00
26 lines
647 B
C++
26 lines
647 B
C++
#ifndef LOGENTRYSTATTRAF_H
|
|
#define LOGENTRYSTATTRAF_H
|
|
|
|
#include "logentry.h"
|
|
|
|
class LogEntryStatTraf : public LogEntry
|
|
{
|
|
public:
|
|
explicit LogEntryStatTraf(quint16 procCount = 0,
|
|
const quint32 *procTrafBytes = nullptr);
|
|
|
|
LogEntry::LogType type() const override { return StatTraf; }
|
|
|
|
quint16 procCount() const { return m_procCount; }
|
|
void setProcCount(quint16 procCount);
|
|
|
|
const quint32 *procTrafBytes() const { return m_procTrafBytes; }
|
|
void setProcTrafBytes(const quint32 *procTrafBytes);
|
|
|
|
private:
|
|
quint16 m_procCount;
|
|
const quint32 *m_procTrafBytes;
|
|
};
|
|
|
|
#endif // LOGENTRYSTATTRAF_H
|