18 #ifndef QUEUEDPACKET_HPP_ 19 #define QUEUEDPACKET_HPP_ 53 std::shared_ptr<const Packet>
packet,
int priority,
54 unsigned long long ticket_number);
55 std::shared_ptr<const Packet>
packet()
const;
83 std::shared_ptr<const Packet> packet_;
85 unsigned long long ticket_number_;
97 #endif // QUEUEDPACKET_HPP_ friend std::ostream & operator<<(std::ostream &os, const QueuedPacket &queued_packet)
QueuedPacket(const QueuedPacket &other)=default
friend bool operator<(const QueuedPacket &lhs, const QueuedPacket &rhs)
friend bool operator!=(const QueuedPacket &lhs, const QueuedPacket &rhs)
std::ostream & operator<<(std::ostream &os, const Action &action)
friend bool operator>(const QueuedPacket &lhs, const QueuedPacket &rhs)
friend bool operator>=(const QueuedPacket &lhs, const QueuedPacket &rhs)
bool operator==(const Action &lhs, const Action &rhs)
bool operator<=(const IPAddress &lhs, const IPAddress &rhs)
bool operator!=(const Action &lhs, const Action &rhs)
bool operator>=(const IPAddress &lhs, const IPAddress &rhs)
bool operator>(const IPAddress &lhs, const IPAddress &rhs)
friend bool operator==(const QueuedPacket &lhs, const QueuedPacket &rhs)
bool operator<(const IPAddress &lhs, const IPAddress &rhs)
std::shared_ptr< const Packet > packet() const
friend bool operator<=(const QueuedPacket &lhs, const QueuedPacket &rhs)
QueuedPacket & operator=(const QueuedPacket &other)=default