R-Type
Networked shoot'em up built on Aegis2D
Loading...
Searching...
No Matches
rtype::LagSample Struct Reference

The figures of every graph at one time, in the unit of each graph. More...

#include </__w/project-rtype/project-rtype/client/network/include/rtype/lagometer.hpp>

Public Member Functions

double value (LagGraph graph) const noexcept
 The value of a graph.
 

Public Attributes

std::array< double, lag_graph_count > values {}
 One value per graph, indexed by LagGraph.
 

Detailed Description

The figures of every graph at one time, in the unit of each graph.

Member Function Documentation

◆ value()

double rtype::LagSample::value ( LagGraph  graph) const
inlinenoexcept

The value of a graph.

Parameters
graphGraph to read.
Returns
Its value.

Member Data Documentation

◆ values

std::array<double, lag_graph_count> rtype::LagSample::values {}

One value per graph, indexed by LagGraph.


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