VOX
A little voxel engine
Loading...
Searching...
No Matches
NetworkThread.hpp
Go to the documentation of this file.
1
#pragma once
2
3
4
#include "
define.hpp
"
5
#include "
Server.hpp
"
6
#include "
Client.hpp
"
7
#include "
RenderAPI.hpp
"
8
#include "
DebugGui.hpp
"
9
#include "
logger.hpp
"
10
#include "Tracy.hpp"
11
12
13
14
class
NetworkThread
15
{
16
public
:
17
18
NetworkThread
(
19
Client
& client
20
);
21
~NetworkThread
();
22
23
NetworkThread
(
NetworkThread
& other) =
delete
;
24
NetworkThread
(
NetworkThread
&& other) =
delete
;
25
NetworkThread
&
operator=
(
NetworkThread
& other) =
delete
;
26
27
private
:
28
29
Client
& m_client;
30
31
std::jthread m_thread;
32
37
void
launch();
38
39
void
init();
40
41
void
loop();
42
};
Client.hpp
DebugGui.hpp
RenderAPI.hpp
Server.hpp
Client
The Client side interface with the network module.
Definition:
Client.hpp:37
NetworkThread
Definition:
NetworkThread.hpp:15
NetworkThread::operator=
NetworkThread & operator=(NetworkThread &other)=delete
NetworkThread::~NetworkThread
~NetworkThread()
Definition:
NetworkThread.cpp:11
NetworkThread::NetworkThread
NetworkThread(NetworkThread &&other)=delete
NetworkThread::NetworkThread
NetworkThread(NetworkThread &other)=delete
define.hpp
logger.hpp
src
app
threads
network
NetworkThread.hpp
Generated by
1.9.5