Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::userinterface::GameQueueGate Class Referencefinal

#include <GameQueueGate.hpp>

Public Member Functions

void reset () noexcept
 
void lock (std::uint64_t tick) noexcept
 
void unlock (std::uint64_t tick) noexcept
 
bool blocks (std::uint64_t tick) noexcept
 
int count () const noexcept
 
std::uint64_t lastActionTick () const noexcept
 

Static Public Attributes

static constexpr std::uint64_t MaxLockTicks = 15U * 60U
 

Detailed Description

Definition at line 9 of file GameQueueGate.hpp.

Member Function Documentation

◆ blocks()

bool monopoly::userinterface::GameQueueGate::blocks ( std::uint64_t  tick)
noexcept

Definition at line 24 of file GameQueueGate.cpp.

◆ count()

int monopoly::userinterface::GameQueueGate::count ( ) const
inlinenoexcept

Definition at line 19 of file GameQueueGate.hpp.

◆ lastActionTick()

std::uint64_t monopoly::userinterface::GameQueueGate::lastActionTick ( ) const
inlinenoexcept

Definition at line 20 of file GameQueueGate.hpp.

◆ lock()

void monopoly::userinterface::GameQueueGate::lock ( std::uint64_t  tick)
noexcept

Definition at line 11 of file GameQueueGate.cpp.

◆ reset()

void monopoly::userinterface::GameQueueGate::reset ( )
noexcept

Definition at line 5 of file GameQueueGate.cpp.

◆ unlock()

void monopoly::userinterface::GameQueueGate::unlock ( std::uint64_t  tick)
noexcept

Definition at line 17 of file GameQueueGate.cpp.

Member Data Documentation

◆ MaxLockTicks

constexpr std::uint64_t monopoly::userinterface::GameQueueGate::MaxLockTicks = 15U * 60U
staticconstexpr

Definition at line 12 of file GameQueueGate.hpp.


The documentation for this class was generated from the following files: