33#ifndef UW_WOSS_CHANNEL_H
34#define UW_WOSS_CHANNEL_H
37#include <channel-module.h>
38#include <underwater.h>
58 virtual int command(
int argc,
const char*
const* argv)
override;
60 virtual void recv(Packet* p, ChSAP* chsap)
override;
Class for channel estimation and averaging.
Definition uw-woss-channel-estimator.h:48
WossChannelModule class for channel calculations with WOSS.
Definition uw-woss-channel.h:50
double getPropDelay(const woss::CoordZ &s, const woss::CoordZ &d)
Definition uw-woss-channel.cpp:369
std::vector< ChSAP * > ChSAPVector
Definition uw-woss-channel.h:64
virtual ~WossChannelModule() override=default
void checkTimeArrVector(const woss::CoordZPairVect &coords, woss::TimeArrVector &channels)
Definition uw-woss-channel.cpp:234
woss::SimFreq computeSimFreq(Packet *p)
Definition uw-woss-channel.cpp:212
double channel_max_distance
Definition uw-woss-channel.h:89
double channel_eq_time
Definition uw-woss-channel.h:85
void deleteChannels(woss::TimeArrVector &channels)
Definition uw-woss-channel.cpp:365
double channel_eq_snr_threshold_db
Definition uw-woss-channel.h:81
virtual int command(int argc, const char *const *argv) override
Definition uw-woss-channel.cpp:82
double channel_eq_attenuation_db
Definition uw-woss-channel.h:87
woss::WossManager * woss_manager
Definition uw-woss-channel.h:91
virtual void recv(Packet *p, ChSAP *chsap) override
Definition uw-woss-channel.cpp:112
woss::CoordZPairVect computeCoordZPairVect(ChSAP *dest)
Definition uw-woss-channel.cpp:158
void schedulePacketCopies(const woss::CoordZPairVect &coords, const woss::TimeArrVector &channels, const woss::SimFreq &sim_freq, Packet *p)
Definition uw-woss-channel.cpp:328
Underwater uw
Definition uw-woss-channel.h:95
WossChannelModule()
Definition uw-woss-channel.cpp:57
ChannelEstimator * channel_estimator
Definition uw-woss-channel.h:93
woss::TimeArrVector computeTimeArrVector(const woss::CoordZPairVect &coords, const woss::SimFreq &sim_freq)
Definition uw-woss-channel.cpp:229
ChSAPVector chsap_vector
Definition uw-woss-channel.h:97
double channel_symbol_resolution
Definition uw-woss-channel.h:83
3D-Coordinates (lat, long, depth) class definitions and functions library
Definition coordinates-definitions.h:384
Abstract class that interfaces Pressure or TimeArr requests from user layer.
Definition woss-manager.h:90
std::vector< CoordZPair > CoordZPairVect
Definition woss-manager.h:61
std::pair< double, double > SimFreq
Definition woss-manager.h:66
std::vector< std::unique_ptr< TimeArr > > TimeArrVector
Definition woss-manager.h:81
Provides the interface for woss::WossManager, woss::WossManagerResDb and woss::WossManagerResDbMT cla...