Struct TimeoutQueue::TQEntry

Nested Relationships

This struct is a nested type of Class TimeoutQueue.

Struct Documentation

struct switchml::TimeoutQueue::TQEntry

A struct representing a single entry in the TimeoutQueue.

Public Functions

TQEntry()
~TQEntry() = default
TQEntry(TQEntry const&) = default
void operator=(TQEntry const&) = delete
TQEntry(TQEntry&&) = default
TQEntry &operator=(TQEntry&&) = default

Public Members

bool valid

Whether this entry is just a place holder or an actual entry pushed by the user.

int next

The index of the next entry

int previous

The index of the previous entry

TimePoint timestamp

The time at which this entry was pushed