aether::netcode::packet_priority Struct Reference

Represents the priority of a message to be sent. More...

#include <generic_netcode.hh>

Public Member Functions

 packet_priority (const time_point &_time)
 The time the message should be sent. More...
 
bool operator== (const packet_priority &other) const
 
bool operator< (const packet_priority &other) const
 
bool operator> (const packet_priority &other) const
 

Public Attributes

time_point time
 

Detailed Description

Represents the priority of a message to be sent.

Constructor & Destructor Documentation

aether::netcode::packet_priority::packet_priority ( const time_point _time)
inline

The time the message should be sent.

Member Function Documentation

bool aether::netcode::packet_priority::operator< ( const packet_priority other) const
inline
bool aether::netcode::packet_priority::operator== ( const packet_priority other) const
inline
bool aether::netcode::packet_priority::operator> ( const packet_priority other) const
inline

Member Data Documentation

time_point aether::netcode::packet_priority::time