wavelength 1.0.0
Loading...
Searching...
No Matches
ClockSyncTask::Sample Class Reference

One answer of the host. More...

#include <clocksynctask.h>

Public Member Functions

bool operator< (const Sample &other) const
 Report whether this answer has a smaller offset than another, the order of the median.

Public Attributes

float mRoundTrip
float mOffset

Detailed Description

One answer of the host.

The RTTI names the type, which a standard library vector records.

Member Function Documentation

◆ operator<()

bool ClockSyncTask::Sample::operator< ( const Sample & other) const
inline

Report whether this answer has a smaller offset than another, the order of the median.

Inline.

Parameters
otherThe other answer.
Returns
Whether mOffset is smaller.

Member Data Documentation

◆ mRoundTrip

float ClockSyncTask::Sample::mRoundTrip

The time from the request to the answer, in milliseconds.

◆ mOffset

float ClockSyncTask::Sample::mOffset

The clock of the host less the clock of this console.


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