LeviLamina
Loading...
Searching...
No Matches
StatisticsHistory.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5namespace RakNet {
6
8public:
9 // StatisticsHistory inner types declare
10 // clang-format off
11 struct TimeAndValue;
12 struct TimeAndValueQueue;
13 struct TrackedObject;
14 struct TrackedObjectData;
15 // clang-format on
16
17 // StatisticsHistory inner types define
18 enum class SHErrorCode : int {
19 Ok = 0,
20 UknownObject = 1,
21 UknownKey = 2,
22 InvalidParameter = 3,
23 };
24
25 enum class SHSortOperation : int {
26 DoNotSort = 0,
27 SortByRecentSumAscending = 1,
28 SortByRecentSumDescending = 2,
29 SortByLongTermSumAscending = 3,
30 SortByLongTermSumDescending = 4,
31 SortByRecentSumOfSquaresAscending = 5,
32 SortByRecentSumOfSquaresDescending = 6,
33 SortByRecentAverageAscending = 7,
34 SortByRecentAverageDescending = 8,
35 SortByLongTermAverageAscending = 9,
36 SortByLongTermAverageDescending = 10,
37 SortByRecentHighestAscending = 11,
38 SortByRecentHighestDescending = 12,
39 SortByRecentLowestAscending = 13,
40 SortByRecentLowestDescending = 14,
41 SortByLongTermHighestAscending = 15,
42 SortByLongTermHighestDescending = 16,
43 SortByLongTermLowestAscending = 17,
44 SortByLongTermLowestDescending = 18,
45 };
46
47 enum class SHDataCategory : int {
48 Discrete = 0,
49 Continuous = 1,
50 };
51
52 struct TimeAndValue {
53 public:
54 // member variables
55 // NOLINTBEGIN
58 // NOLINTEND
59
60 public:
61 // prevent constructor by default
62 TimeAndValue& operator=(TimeAndValue const&);
65 };
66
68 public:
69 // member variables
70 // NOLINTBEGIN
81 // NOLINTEND
82
83 public:
84 // prevent constructor by default
85 TimeAndValueQueue& operator=(TimeAndValueQueue const&);
88 };
89
91 public:
92 // member variables
93 // NOLINTBEGIN
97 // NOLINTEND
98
99 public:
100 // prevent constructor by default
101 TrackedObjectData& operator=(TrackedObjectData const&);
104 };
105
107 public:
108 // member variables
109 // NOLINTBEGIN
112 // NOLINTEND
113
114 public:
115 // prevent constructor by default
116 TrackedObject& operator=(TrackedObject const&);
119 };
120
121public:
122 // member variables
123 // NOLINTBEGIN
126 // NOLINTEND
127
128public:
129 // prevent constructor by default
130 StatisticsHistory& operator=(StatisticsHistory const&);
133
134public:
135 // virtual functions
136 // NOLINTBEGIN
137 // vIndex: 0
138 virtual ~StatisticsHistory() = default;
139 // NOLINTEND
140
141public:
142 // destructor thunk
143 // NOLINTBEGIN
144
145 // NOLINTEND
146};
147
148} // namespace RakNet
Definition StatisticsHistory.h:7
Definition StatisticsHistory.h:67
Definition StatisticsHistory.h:52
Definition StatisticsHistory.h:90
Definition StatisticsHistory.h:106
Definition Alias.h:14