5#include "roo_logging.h"
38 return (int16_t)(seq_ - other.seq_) < 0;
42 return (int16_t)(seq_ - other.seq_) <= 0;
46 return (int16_t)(seq_ - other.seq_) > 0;
50 return (int16_t)(seq_ - other.seq_) >= 0;
70 uint16_t
raw()
const {
return seq_; }
81inline roo_logging::Stream& operator<<(roo_logging::Stream& os,
bool operator==(SeqNum other) const
bool operator<(SeqNum other) const
int operator-(SeqNum other) const
SeqNum & operator+=(int increment)
bool operator!=(SeqNum other) const
bool operator>(SeqNum other) const
SeqNum operator+(int other) const
SeqNum operator-(int other) const
bool operator<=(SeqNum other) const
bool operator>=(SeqNum other) const