R-Type
Distributed multiplayer game engine in C++
Loading...
Searching...
No Matches
server::IServerLoop Interface Referenceabstract

Interface for the main server loop. More...

#include <IServerLoop.hpp>

Inheritance diagram for server::IServerLoop:
Inheritance graph
Collaboration diagram for server::IServerLoop:
Collaboration graph

Public Member Functions

virtual ~IServerLoop ()=default
 
virtual void start ()=0
 Start the server loop.
 
virtual void stop ()=0
 Stop the server loop.
 
virtual bool isRunning () const =0
 Check if the server loop is running.
 

Detailed Description

Interface for the main server loop.

Provides methods to start, stop, and check the running status of the server loop.

Definition at line 20 of file IServerLoop.hpp.

Constructor & Destructor Documentation

◆ ~IServerLoop()

virtual server::IServerLoop::~IServerLoop ( )
virtualdefault

Member Function Documentation

◆ isRunning()

virtual bool server::IServerLoop::isRunning ( ) const
pure virtual

Check if the server loop is running.

Returns
true if running, false otherwise

Implemented in server::ServerLoop.

◆ start()

virtual void server::IServerLoop::start ( )
pure virtual

Start the server loop.

Implemented in server::ServerLoop.

◆ stop()

virtual void server::IServerLoop::stop ( )
pure virtual

Stop the server loop.

Implemented in server::ServerLoop.


The documentation for this interface was generated from the following file: