wpl::wifi::unique_id< Id1, Id2, Id3, Id4 > Struct Template Reference

Identifier for uniquely identifiable frames. More...

#include <wipal/wifi/unique_id/unique_id.hh>

List of all members.

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

Detailed Description

template<class Id1 = internals::empty<internals::tag1>, class Id2 = internals::empty<internals::tag2>, class Id3 = internals::empty<internals::tag3>, class Id4 = internals::empty<internals::tag4>>
struct wpl::wifi::unique_id< Id1, Id2, Id3, Id4 >

Identifier for uniquely identifiable frames.

A uniquely identifiable frame is a frame that is unique inside a given trace.

Todo:
Document.

Constructor & Destructor Documentation

template<class Id1 , class Id2 , class Id3 , class Id4 >
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.

See also:
pcapxx::frame_descriptor

The documentation for this struct was generated from the following files:

Generated by  doxygen 1.6.2