LeviLamina
Loading...
Searching...
No Matches
FileChunkManager.h
1#pragma once
2
3#include "mc/_HeaderOutputPredefine.h"
4
5// auto generated inclusion list
6#include "mc/deps/core/container/MovePriorityQueue.h"
7
8// auto generated forward declare list
9// clang-format off
10struct FileChunk;
11struct FileChunkInfo;
12// clang-format on
13
15public:
16 // member variables
17 // NOLINTBEGIN
18 ::ll::TypedStorage<8, 8, uint64> mTotalSize;
19 ::ll::TypedStorage<4, 4, uint> mChunkSize;
20 ::ll::TypedStorage<8, 8, uint64> mTotalNbChunks;
21 ::ll::TypedStorage<8, 8, uint64> mRequestedChunks;
22 ::ll::TypedStorage<8, 8, uint64> mReceivedChunks;
23 ::ll::TypedStorage<8, 8, uint64> mWrittenChunks;
24 ::ll::TypedStorage<8, 24, ::std::vector<::FileChunkInfo>> mChunkInfo;
25 ::ll::TypedStorage<8, 24, ::MovePriorityQueue<::FileChunk, ::std::less<::FileChunk>>> mChunkQueue;
26 // NOLINTEND
27
28public:
29 // member functions
30 // NOLINTBEGIN
31 MCAPI void _generateChunkInfo();
32
33 MCAPI void reset(uint64 totalSize, uint chunkSize);
34 // NOLINTEND
35};
Definition FileChunkManager.h:14
Definition FileChunkInfo.h:5
Definition FileChunk.h:10