wscout::gui::IEEE80211Header Class Reference

IEEE 802.11 Widget. More...

#include <wscout_gui_ieee802_11_header.hh>

Inheritance diagram for wscout::gui::IEEE80211Header:

wscout::gui::HeaderBase< Exact, Proto > wscout::gui::AbstractHeader wscout::gui::HeaderFrame

List of all members.

Public Types

enum  { protocol = Proto }
typedef std::pair
< protocol::id,
const void * > 
next_header

Public Member Functions

 IEEE80211Header (QWidget *parent=0)
virtual next_header setup (const void *header, size_t caplen)
QBoxLayout * layout ()

Static Public Member Functions

static AbstractHeaderallocator ()
static void registerProtocol ()

Protected Member Functions

void setColor (const QColor fore, const QColor back)

Classes

struct  ieee80211_hooks


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


Member Enumeration Documentation

template<class Exact, unsigned Proto>
anonymous enum [inherited]

Enumerator:
protocol  Protocol identifier.


Constructor & Destructor Documentation

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

Default constructor.


Member Function Documentation

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

Abstract method definition from AbstractHeader.

Implements wscout::gui::AbstractHeader.

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

Set this header's colors.

template<class Exact, unsigned Proto>
AbstractHeader * wscout::gui::HeaderBase< Exact, Proto >::allocator (  )  [inline, static, inherited]

Allocate an instance of Exact using new.

template<class Exact, unsigned Proto>
void wscout::gui::HeaderBase< Exact, Proto >::registerProtocol (  )  [inline, static, inherited]

Register allocator() for protocol.

QBoxLayout * wscout::gui::HeaderFrame::layout (  )  [inherited]

This protocol header widget's layout.


The documentation for this class was generated from the following files:
Generated on Wed Sep 12 16:02:50 2007 for WScout by  doxygen 1.5.3