25 : configuration_(configuration),
28 startTime_(
senf::ClockService::milliseconds(0)),
29 nextTimeout_(
senf::ClockService::milliseconds(0)),
33 input.onRequest( &FrameAnalyzer::request);
36 initWait_.timeout( senf::scheduler::now() + configuration.
maxWait);
39 prefix_ void FrameAnalyzer::timerEvent()
52 prefix_ void FrameAnalyzer::initWaitEvent()
69 prefix_ void FrameAnalyzer::request()
85 if (++numPackets_ == 1) {
senf::ClockService::clock_type duration
config::time_type clock_type
senf::ClockService::clock_type maxWait
static SENF_CLOCKSERVICE_CONSTEXPR int64_type in_milliseconds(clock_type const &v)
void dump(std::ostream &os, senf::ClockService::clock_type const &period)
virtual void terminate() const
boost::function< R(Args)> membind(R(T::*fn)(Args), T *ob)
80211Analyzer public header
WLANPacket_DataFrameType::packet WLANPacket_DataFrame
WLANPacket_MgtFrameType::packet WLANPacket_MgtFrame
static SENF_CLOCKSERVICE_CONSTEXPR clock_type milliseconds(int64_type const &v)
void timeout(ClockService::clock_type const &timeout, bool initiallyEnabled=true)
senf::ClockService::clock_type reportingInterval
WLANPacket_CtrlFrameType::packet WLANPacket_CtrlFrame
Configuration const & configuration_
WLANInterface public header.
static WLANModulationParameterRegistry & instance()
void update(senf::AnnotationsPacket const &ap)
senf::ppi::connector::PassiveInput< senf::EthernetPacket > input
FrameAnalyzer(Configuration const &configuration)
ConcretePacket< EthernetPacketType > EthernetPacket