R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
IServerLoop.hpp
Go to the documentation of this file.
1
/*
2
** EPITECH PROJECT, 2025
3
** Created by hugo on 06/12/2025
4
** File description:
5
** IServerLoop.hpp
6
*/
7
8
#pragma once
9
10
#include <memory>
11
12
namespace
server
{
13
20
class
IServerLoop
{
21
public
:
22
virtual
~IServerLoop
() =
default
;
23
27
virtual
void
start
() = 0;
28
32
virtual
void
stop
() = 0;
33
38
virtual
bool
isRunning
()
const
= 0;
39
};
40
41
}
// namespace server
server::IServerLoop
Interface for the main server loop.
Definition
IServerLoop.hpp:20
server::IServerLoop::stop
virtual void stop()=0
Stop the server loop.
server::IServerLoop::~IServerLoop
virtual ~IServerLoop()=default
server::IServerLoop::isRunning
virtual bool isRunning() const =0
Check if the server loop is running.
server::IServerLoop::start
virtual void start()=0
Start the server loop.
server
Definition
CommandContext.hpp:16
server
Core
ServerLoop
IServerLoop.hpp
Generated by
1.9.8