[feat] add statistics module

This commit is contained in:
dijunkun
2024-09-04 17:31:08 +08:00
parent d285d7971a
commit c0c2b18b8b
9 changed files with 163 additions and 1 deletions

View File

@@ -0,0 +1,7 @@
#include "receiver_statistics.h"
#include "log.h"
ReceiverStatistics::ReceiverStatistics() {}
ReceiverStatistics::~ReceiverStatistics() {}

View File

@@ -0,0 +1,21 @@
/*
* @Author: DI JUNKUN
* @Date: 2024-09-04
* Copyright (c) 2024 by DI JUNKUN, All Rights Reserved.
*/
#ifndef _RECEIVER_STATISTICS_H_
#define _RECEIVER_STATISTICS_H_
#include "statistics_base.h"
class ReceiverStatistics : public StatisticsBase {
public:
ReceiverStatistics();
virtual ~ReceiverStatistics();
private:
/* data */
};
#endif

View File

@@ -0,0 +1,7 @@
#include "sender_statistics.h"
#include "log.h"
SenderStatistics::SenderStatistics() {}
SenderStatistics::~SenderStatistics() {}

View File

@@ -0,0 +1,21 @@
/*
* @Author: DI JUNKUN
* @Date: 2024-09-04
* Copyright (c) 2024 by DI JUNKUN, All Rights Reserved.
*/
#ifndef _SENDER_STATISTICS_H_
#define _SENDER_STATISTICS_H_
#include "statistics_base.h"
class SenderStatistics : public StatisticsBase {
public:
SenderStatistics();
virtual ~SenderStatistics();
private:
/* data */
};
#endif

View File

@@ -0,0 +1,5 @@
#include "statistics_base.h"
StatisticsBase::StatisticsBase() {}
StatisticsBase::~StatisticsBase() {}

View File

@@ -0,0 +1,19 @@
/*
* @Author: DI JUNKUN
* @Date: 2024-09-04
* Copyright (c) 2024 by DI JUNKUN, All Rights Reserved.
*/
#ifndef _STATISTICS_BASE_H_
#define _STATISTICS_BASE_H_
class StatisticsBase {
public:
StatisticsBase();
virtual ~StatisticsBase();
private:
/* data */
};
#endif