AVS header widget. More...
#include <wscout_gui_avs_header.hh>
Public Types | |
enum | |
enum | |
typedef std::pair < protocol::id, const void * > | next_header |
typedef wpl::pcap::indexed_file::packet | packet |
enum | { header_margin = 2 } |
Public Member Functions | |
AVSHeader (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 AbstractHeader * | allocator () |
static void | registerProtocol () |
Protected Member Functions | |
void | setTruncated (bool trunc=true) |
void | setTime (uint64_t hosttime, uint64_t mactime) |
void | setRate (float rate) |
void | setChannel (unsigned channel) |
void | setSignal (int rssi, int signal, int noise) |
AVS header widget.
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.
typedef wpl::pcap::indexed_file ::packet wscout::gui::AbstractHeader::packet [inherited] |
Frame descriptor type used by setup().
wscout::gui::AVSHeader::AVSHeader | ( | QWidget * | parent = 0 |
) | [inline] |
Default constructor.
static AbstractHeader* wscout::gui::HeaderBase< AVSHeader , Proto >::allocator | ( | ) | [static, inherited] |
Allocate an instance of Exact
using new
.
QBoxLayout * wscout::gui::HeaderFrame::layout | ( | ) | [inline, inherited] |
This protocol header widget's layout.
Referenced by wscout::gui::IPv4Header::IPv4Header(), wscout::gui::IPv6Header::IPv6Header(), wscout::gui::LLCHeader::LLCHeader(), wscout::gui::PcapHeader::PcapHeader(), and wscout::gui::PHYHeader< Exact, Proto >::PHYHeader().
static void wscout::gui::HeaderBase< AVSHeader , Proto >::registerProtocol | ( | ) | [static, inherited] |
Register allocator() for protocol.
AVSHeader::next_header wscout::gui::AVSHeader::setup | ( | const void * | header, | |
size_t | caplen, | |||
const Trace & | trace, | |||
const packet & | desc | |||
) | [virtual] |
Abstract method definition from AbstractHeader.
Implements wscout::gui::AbstractHeader.
References wscout::protocol::IEEE802_11, and wscout::protocol::NONE.