wifi::frame::filter Namespace Reference

Various frame filters. More...


Classes

struct  fast_intersector
struct  intersector
struct  synchronized_frame
struct  linear_regression_synchronizer
struct  microseconds_stamper
struct  non_noisy_prism
 Filter out PCAP frames which Prism noise field is non-null. More...
struct  reference_blacklist
struct  simple_merge
struct  time_adjuster
struct  uniquely_identifiable
 Filter uniquely identifiable frames out of PCAP frames. More...
struct  windowed_merge

Namespaces

namespace  internals

Functions

template<class UniqueId, class HeaderType, template< class, class, class > class Intersector, class I1, class I2, class F>
void provide_intersector (const I1 &first1, const I1 &last1, const I2 &first2, const I2 &last2, addr_mapping &mapping, F &func, bool filter_prism, tool::endian::endianness phy_end)
template<class U, class HT, template< class, class, class > class Int, class I1, class I2, class F, class BL>
void provide_lr_synchronizer (const I1 &first1, const I1 &last1, const I2 &first2, const I2 &last2, addr_mapping &mapping, F &func, bool filter_prism, tool::endian::endianness phy_end, const BL &blist)
template<class UniqueId, class HeaderType, template< class, class, class > class Intersector, template< class, class, class, class > class Merger, class I1, class I2, class F, class BL>
void provide_merge (const I1 &first1, const I1 &last1, const I2 &first2, const I2 &last2, addr_mapping &mapping, F &func, bool filter_prism, tool::endian::endianness phy_end, const BL &blist)
template<class U, class HT, template< class, class, class > class Int, class I1, class I2, class F, class BL>
void provide_time_adjuster (const I1 &first1, const I1 &last1, const I2 &first2, const I2 &last2, addr_mapping &mapping, F &func, bool filter_prism, tool::endian::endianness phy_end, const BL &blist)
template<class UniqueId, class HeaderType, class I, class F>
void for_each_uniquely_identifiable (const I &first, const I &last, addr_mapping &mapping, F &func, bool filter_prism, tool::endian::endianness phy_end)
template<class UniqueId, class HeaderType, class I, class F>
void for_each_uniquely_identifiable (const I &first, const I &last, addr_mapping &mapping, const F &func, bool filter_prism, tool::endian::endianness phy_end)


Detailed Description

Various frame filters.

A filter is an iterable object which filters out various elements from a given iterator.


Function Documentation

template<class UniqueId, class HeaderType, class I, class F>
void wifi::frame::filter::for_each_uniquely_identifiable ( const I &  first,
const I &  last,
addr_mapping &  mapping,
const F &  func,
bool  filter_prism,
tool::endian::endianness  phy_end 
) [inline]

Const version of for_each_uniquely_identifiable.

template<class UniqueId, class HeaderType, class I, class F>
void wifi::frame::filter::for_each_uniquely_identifiable ( const I &  first,
const I &  last,
addr_mapping &  mapping,
F &  func,
bool  filter_prism,
tool::endian::endianness  phy_end 
) [inline]

Apply func to all uniquely identifiable frames from first to last.

If filter_prism is true, filter elements with non_noisy_prism. *first and *last should be convertible to pcapxx::frame_descriptor.

phy_end indicates the PHY headers' endianness.

template<class UniqueId, class HeaderType, template< class, class, class > class Intersector, class I1, class I2, class F>
void wifi::frame::filter::provide_intersector ( const I1 &  first1,
const I1 &  last1,
const I2 &  first2,
const I2 &  last2,
addr_mapping &  mapping,
F &  func,
bool  filter_prism,
tool::endian::endianness  phy_end 
) [inline]

Build an intersector from iterators and pass it as argument to a functor.

If filter_prism is true, filter elements with non_noisy_prism. *first and *last should be convertible to pcapxx::frame_descriptor.

phy_end indicates the PHY headers' endianness.

template<class U, class HT, template< class, class, class > class Int, class I1, class I2, class F, class BL>
void wifi::frame::filter::provide_lr_synchronizer ( const I1 &  first1,
const I1 &  last1,
const I2 &  first2,
const I2 &  last2,
addr_mapping &  mapping,
F &  func,
bool  filter_prism,
tool::endian::endianness  phy_end,
const BL &  blist 
) [inline]

Build a linear_regression_synchronizer filter from iterators and pass it as argument to a functor.

If filter_prism is true, filter elements with non_noisy_prism. *first and *last should be convertible to pcapxx::frame_descriptor.

phy_end indicates the PHY headers' endianness.

template<class UniqueId, class HeaderType, template< class, class, class > class Intersector, template< class, class, class, class > class Merger, class I1, class I2, class F, class BL>
void wifi::frame::filter::provide_merge ( const I1 &  first1,
const I1 &  last1,
const I2 &  first2,
const I2 &  last2,
addr_mapping &  mapping,
F &  func,
bool  filter_prism,
tool::endian::endianness  phy_end,
const BL &  blist 
) [inline]

Build an merge filter from iterators and pass it as argument to a functor.

If filter_prism is true, filter elements with non_noisy_prism. *first and *last should be convertible to pcapxx::frame_descriptor.

phy_end indicates the PHY headers' endianness.

template<class U, class HT, template< class, class, class > class Int, class I1, class I2, class F, class BL>
void wifi::frame::filter::provide_time_adjuster ( const I1 &  first1,
const I1 &  last1,
const I2 &  first2,
const I2 &  last2,
addr_mapping &  mapping,
F &  func,
bool  filter_prism,
tool::endian::endianness  phy_end,
const BL &  blist 
) [inline]

Build a time_adjuster filter from iterators and pass it as argument to a functor.

If filter_prism is true, filter elements with non_noisy_prism. *first and *last should be convertible to pcapxx::frame_descriptor.

phy_end indicates the PHY headers' endianness.


Generated on Tue Jan 15 19:32:32 2008 for wipal by  doxygen 1.5.4