mirror of
https://github.com/kunkundi/crossdesk.git
synced 2025-10-27 04:35:34 +08:00
[feat] add statistics module
This commit is contained in:
7
src/statistics/receiver_statistics.cpp
Normal file
7
src/statistics/receiver_statistics.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "receiver_statistics.h"
|
||||
|
||||
#include "log.h"
|
||||
|
||||
ReceiverStatistics::ReceiverStatistics() {}
|
||||
|
||||
ReceiverStatistics::~ReceiverStatistics() {}
|
||||
21
src/statistics/receiver_statistics.h
Normal file
21
src/statistics/receiver_statistics.h
Normal 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
|
||||
7
src/statistics/sender_statistics.cpp
Normal file
7
src/statistics/sender_statistics.cpp
Normal file
@@ -0,0 +1,7 @@
|
||||
#include "sender_statistics.h"
|
||||
|
||||
#include "log.h"
|
||||
|
||||
SenderStatistics::SenderStatistics() {}
|
||||
|
||||
SenderStatistics::~SenderStatistics() {}
|
||||
21
src/statistics/sender_statistics.h
Normal file
21
src/statistics/sender_statistics.h
Normal 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
|
||||
5
src/statistics/statistics_base.cpp
Normal file
5
src/statistics/statistics_base.cpp
Normal file
@@ -0,0 +1,5 @@
|
||||
#include "statistics_base.h"
|
||||
|
||||
StatisticsBase::StatisticsBase() {}
|
||||
|
||||
StatisticsBase::~StatisticsBase() {}
|
||||
19
src/statistics/statistics_base.h
Normal file
19
src/statistics/statistics_base.h
Normal 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
|
||||
Reference in New Issue
Block a user