wscout::gui::IEEE80211Header Struct Reference

IEEE 802.11 Widget. More...

#include <wscout_gui_ieee802_11_header.hh>

Inheritance diagram for wscout::gui::IEEE80211Header:
wscout::gui::HeaderBase< IEEE80211Header, protocol::IEEE802_11 > wscout::gui::AbstractHeader wscout::gui::HeaderFrame

List of all members.

Classes

struct  ieee80211_hooks

Public Types

enum  { before_addresses_spacing = 16, default_spacing = 4, max_duration_len = 16, max_desc_len = 32 }
enum  
typedef std::pair
< protocol::id, const void * > 
next_header
typedef
wpl::pcap::indexed_file::packet 
packet
enum  { header_margin = 2 }

Public Member Functions

 IEEE80211Header (QWidget *parent=0)
virtual next_header setup (const void *header, size_t caplen, const Trace &trace, const packet &desc)
QBoxLayout * layout ()

Static Public Member Functions

static AbstractHeaderallocator ()
static void registerProtocol ()

Protected Member Functions

void setColor (const QColor fore, const QColor back)

Detailed Description

IEEE 802.11 Widget.

See also:
AbstractHeader, HeaderBase

Member Typedef Documentation

typedef std::pair<protocol::id, const void*> wscout::gui::AbstractHeader::next_header [inherited]

Identify this header's next header.

The first element specifies the next header's protocol. The second one points to the next header's beginning of data.

If there is no next protocol, use protocol::NONE. If the next protocol is unknown, use protocol::UNKNOWN.

See also:
protocol::id
typedef wpl::pcap::indexed_file ::packet wscout::gui::AbstractHeader::packet [inherited]

Frame descriptor type used by setup().


Member Enumeration Documentation

anonymous enum [inherited]
Enumerator:
header_margin 

Margins around headers.


Constructor & Destructor Documentation

wscout::gui::IEEE80211Header::IEEE80211Header ( QWidget *  parent = 0  ) 

Default constructor.


Member Function Documentation

static AbstractHeader* wscout::gui::HeaderBase< IEEE80211Header , Proto >::allocator (  )  [static, inherited]

Allocate an instance of Exact using new.

QBoxLayout * wscout::gui::HeaderFrame::layout (  )  [inline, inherited]
static void wscout::gui::HeaderBase< IEEE80211Header , Proto >::registerProtocol (  )  [static, inherited]

Register allocator() for protocol.

void wscout::gui::IEEE80211Header::setColor ( const QColor  fore,
const QColor  back 
) [inline, protected]

Set this header's colors.

IEEE80211Header::next_header wscout::gui::IEEE80211Header::setup ( const void *  header,
size_t  caplen,
const Trace trace,
const packet desc 
) [virtual]

Abstract method definition from AbstractHeader.

Implements wscout::gui::AbstractHeader.


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

Generated by  doxygen 1.6.2