40#ifndef CHANNEL_ESTIMATOR_H
41#define CHANNEL_ESTIMATOR_H
66 typedef ::std::map< woss::CoordZ, woss::TimeArr*, woss::CoordComparator< ChannelEstimator, woss::CoordZ > > RxMap;
67 typedef RxMap::iterator RxMIter;
68 typedef RxMap::const_iterator RxMCIter;
69 typedef RxMap::reverse_iterator RxMRIter;
71 typedef ::std::map< woss::CoordZ, RxMap, woss::CoordComparator< ChannelEstimator, woss::CoordZ > > ChannelMap;
72 typedef ChannelMap::iterator ChMapIter;
73 typedef ChannelMap::reverse_iterator ChMapRIter;
75 typedef std::map< int, WossPosition* > MacToPosMap;
76 typedef MacToPosMap::iterator MacMapIter;
77 typedef MacToPosMap::reverse_iterator MacMapRIter;
89 virtual int command(
int argc,
const char*
const* argv);
92 static double getSpaceSampling() {
return space_sampling; }
114 void addMacAddress(
int addr,
WossPosition* pos ) { mac_to_pos_map[addr] = pos; }
119 virtual bool resetEstimator();
125 static double space_sampling;
128 ChannelMap channel_map;
130 MacToPosMap mac_to_pos_map;
157 virtual int command(
int argc,
const char*
const* argv);
159 virtual int recvSyncClMsg(ClMessage* m);
Service class for attaching a ChannelEstimator to the node bus.
Definition uw-woss-channel-estimator.h:146
Class for channel estimation and averaging.
Definition uw-woss-channel-estimator.h:60
virtual void updateEstimation(const woss::CoordZ &tx, const woss::CoordZ &rx, woss::TimeArr *curr_channel)
Definition uw-woss-channel-estimator.cpp:87
woss::TimeArr * getEstimation(const woss::CoordZ &tx, const woss::CoordZ &rx)
Definition uw-woss-channel-estimator.cpp:123
Definition uw-woss-position.h:48
3D-Coordinates (lat, long, depth) class definitions and functions library
Definition coordinates-definitions.h:403
Channel power delay profile class.
Definition time-arrival-definitions.h:82
Provides the interface for the woss::Coord and woss::CoordZ classes.
Provides the interface for WossWpPosition class.