wpl::filter Namespace Reference

Various frame filters. More...

Namespaces

namespace  internals

Classes

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

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, opt::list &options, F &func)
template<class U , class HT , template< class, class, class > class Int, class I1 , class I2 , class F >
void provide_lr_synchronizer (const I1 &first1, const I1 &last1, const I2 &first2, const I2 &last2, opt::list &options, F &func)
template<class UniqueId , class HeaderType , template< class, class, class > class Intersector, template< class, class, class, class > class Merger, class I1 , class I2 , class F >
void provide_merge (const I1 &first1, const I1 &last1, const I2 &first2, const I2 &last2, opt::list &options, F &func)
template<class U , class HT , template< class, class, class > class Int, class I1 , class I2 , class F >
void provide_time_adjuster (const I1 &first1, const I1 &last1, const I2 &first2, const I2 &last2, opt::list &options, F &func)
template<class UniqueId , class HeaderType , class I , class F >
void for_each_uniquely_identifiable (const I &first, const I &last, opt::list &options, F &func)
template<class UniqueId , class HeaderType , class I , class F >
void for_each_uniquely_identifiable (const I &first, const I &last, opt::list &options, const F &func)
template<class U , class HT , class I , class F >
void for_each_uniquely_identifiable (const I &first, const I &last, const opt::list &opts, const F &func)

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 wpl::filter::for_each_uniquely_identifiable ( const I &  first,
const I &  last,
opt::list &  options,
F &  func 
) [inline]

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

options must contain at least the following items: mapping, endianness, and ignore_noisy_prism.

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 wpl::filter::provide_intersector ( const I1 &  first1,
const I1 &  last1,
const I2 &  first2,
const I2 &  last2,
opt::list &  options,
F &  func 
) [inline]

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

options must contain at least the following items: mapping, endianness, and ignore_noisy_prism.

phy_end indicates the PHY headers' endianness.

template<class U , class HT , template< class, class, class > class Int, class I1 , class I2 , class F >
void wpl::filter::provide_lr_synchronizer ( const I1 &  first1,
const I1 &  last1,
const I2 &  first2,
const I2 &  last2,
opt::list &  options,
F &  func 
) [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 >
void wpl::filter::provide_merge ( const I1 &  first1,
const I1 &  last1,
const I2 &  first2,
const I2 &  last2,
opt::list &  options,
F &  func 
) [inline]

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

options must contain at least the following items: mapping, endianness, ignore_noisy_prism, and ref_blacklist.

phy_end indicates the PHY headers' endianness.

template<class U , class HT , template< class, class, class > class Int, class I1 , class I2 , class F >
void wpl::filter::provide_time_adjuster ( const I1 &  first1,
const I1 &  last1,
const I2 &  first2,
const I2 &  last2,
opt::list &  options,
F &  func 
) [inline]

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

options must contain at least the following items: mapping, endianness, ignore_noisy_prism, and ref_blacklist.

phy_end indicates the PHY headers' endianness.


Generated by  doxygen 1.6.2