Identifier for uniquely identifiable frames. More...
#include <wipal/wifi/unique_id/unique_id.hh>
Public Member Functions | |
unique_id (unsigned frame_id, const Id1 &id1=Id1(), const Id2 &id2=Id2(), const Id3 &id3=Id3(), const Id4 &id4=Id4()) | |
std::ostream & | print (std::ostream &) const |
unsigned | frame_id () const |
Comparison operators | |
bool | operator< (const unique_id &rhs) const |
bool | operator== (const unique_id &rhs) const |
bool | operator!= (const unique_id &rhs) const |
Access to the distinctive attributes. | |
const Id1 & | id1 () const |
const Id2 & | id2 () const |
const Id3 & | id3 () const |
const Id4 & | id4 () const |
Identifier for uniquely identifiable frames.
A uniquely identifiable frame is a frame that is unique inside a given trace.
wpl::wifi::unique_id< Id1, Id2, Id3, Id4 >::unique_id | ( | unsigned | frame_id, | |
const Id1 & | id1 = Id1 () , |
|||
const Id2 & | id2 = Id2 () , |
|||
const Id3 & | id3 = Id3 () , |
|||
const Id4 & | id4 = Id4 () | |||
) | [inline] |
Construct a uniquely identifiable frame from a frame id (from its PCAP header ) and some distinctive attributes.
The frame id's only role is to help debugging. It is only used when dumping the frame to a C++ stream.