EMANE  1.2.1
EMANE::NoiseRecorder Class Reference

#include <noiserecorder.h>

Public Member Functions

 NoiseRecorder (const Microseconds &bin, const Microseconds &maxOffset, const Microseconds &maxPropagation, const Microseconds &maxDuration, double dRxSensitivityMilliWatt_)
 
std::pair< TimePoint, TimePointupdate (const TimePoint &now, const TimePoint &txTime, const Microseconds &offset, const Microseconds &propagation, const Microseconds &duration, double dRxPower, const std::vector< NEMId > &transmitters)
 
std::pair< std::vector< double >, TimePointget (const TimePoint &now, const Microseconds &duration=Microseconds::zero(), const TimePoint &startTime=TimePoint::min())
 
std::vector< double > dump () const
 

Detailed Description

Definition at line 46 of file noiserecorder.h.

Constructor & Destructor Documentation

◆ NoiseRecorder()

EMANE::NoiseRecorder::NoiseRecorder ( const Microseconds bin,
const Microseconds maxOffset,
const Microseconds maxPropagation,
const Microseconds maxDuration,
double  dRxSensitivityMilliWatt_ 
)

Definition at line 36 of file noiserecorder.cc.

Member Function Documentation

◆ dump()

std::vector< double > EMANE::NoiseRecorder::dump ( ) const

Definition at line 298 of file noiserecorder.cc.

◆ get()

std::pair< std::vector< double >, EMANE::TimePoint > EMANE::NoiseRecorder::get ( const TimePoint now,
const Microseconds duration = Microseconds::zero(),
const TimePoint startTime = TimePoint::min() 
)

Definition at line 194 of file noiserecorder.cc.

◆ update()

std::pair< EMANE::TimePoint, EMANE::TimePoint > EMANE::NoiseRecorder::update ( const TimePoint now,
const TimePoint txTime,
const Microseconds offset,
const Microseconds propagation,
const Microseconds duration,
double  dRxPower,
const std::vector< NEMId > &  transmitters 
)

Update the noise recorder with new signal information

Precondition
offset must be <= than MAX_OFFSET propagation must be <= MAX_PROPAGATION duration must be <= MAX_DURATION

Definition at line 51 of file noiserecorder.cc.


The documentation for this class was generated from the following files: