![]() |
User Manual, Developers Guide and API Documentation |
![]() |
#include <transceiver/ReceiverBF.hpp>


Protected Attributes | |
| antenna::Beamforming * | antenna |
Private Member Functions | |
| virtual antenna::PatternId | calculateAndSetBeam (Station *id, const std::vector< Station * > &undesired, wns::Power &IinterPlusNoise) |
| virtual std::map < rise::Station *, wns::Ratio > | calculateSINRsRx (const std::vector< Station * > &stations, wns::Power &IinterPlusNoise) |
| virtual std::map < rise::Station *, wns::Ratio > | calculateSINRsTx (std::map< Station *, wns::Power > &Station2NoisePlusIintercell, wns::Power &x_safe, wns::Power txPower) |
| virtual antenna::Beamforming * | getAntenna () const |
| virtual wns::Power | getInterference (const TransmissionObjectPtr &t) |
| Returns the interference for the TransmissionObject t. | |
| virtual wns::Power | getRxPower (const TransmissionObjectPtr &t, const TransmissionObjectPtr &whenListeningToTO) |
| Returns the received signal power of the TransmissionObject t,. | |
| virtual wns::Power | getTotalRxPower (const TransmissionObjectPtr &whenListeningToTO) |
| Returns the total received signal power of the PhysicalResource the. | |
| ReceiverBF (Station *s, antenna::Beamforming *a, Demodulator *demodulator, Decoder *decoder, wns::Ratio rnf) | |
| Constructor. | |
| virtual void | removeBeam (antenna::PatternId id) |
| virtual void | setPowerReceivedForStation (Station *const id, wns::Power power) |
| virtual void | startReceiving (TransmissionObjectPtr &TO, antenna::PatternId patternId) |
| virtual void | stopReceiving (TransmissionObjectPtr &TO) |
| virtual void | writeCacheEntry (PropCacheEntry &cacheEntry, Transmitter *t, double freq) |
| Updates the given cache entry. | |
| virtual | ~ReceiverBF () |
| Destructor. | |
Definition at line 36 of file ReceiverBF.hpp.
| ReceiverBF::ReceiverBF | ( | Station * | s, | |
| antenna::Beamforming * | a, | |||
| Demodulator * | demodulator, | |||
| Decoder * | decoder, | |||
| wns::Ratio | rnf | |||
| ) | [private] |
Definition at line 40 of file ReceiverBF.cpp.
| ReceiverBF::~ReceiverBF | ( | ) | [private, virtual] |
Definition at line 49 of file ReceiverBF.cpp.
| virtual antenna::PatternId rise::ReceiverBF::calculateAndSetBeam | ( | Station * | id, | |
| const std::vector< Station * > & | undesired, | |||
| wns::Power & | IinterPlusNoise | |||
| ) | [inline, private, virtual] |
Definition at line 96 of file ReceiverBF.hpp.
| virtual std::map<rise::Station*, wns::Ratio> rise::ReceiverBF::calculateSINRsRx | ( | const std::vector< Station * > & | stations, | |
| wns::Power & | IinterPlusNoise | |||
| ) | [inline, private, virtual] |
Definition at line 81 of file ReceiverBF.hpp.
| virtual std::map<rise::Station*, wns::Ratio> rise::ReceiverBF::calculateSINRsTx | ( | std::map< Station *, wns::Power > & | Station2NoisePlusIintercell, | |
| wns::Power & | x_safe, | |||
| wns::Power | txPower | |||
| ) | [inline, private, virtual] |
Definition at line 88 of file ReceiverBF.hpp.
| virtual antenna::Beamforming* rise::ReceiverBF::getAntenna | ( | ) | const [inline, private, virtual] |
| wns::Power ReceiverBF::getInterference | ( | const TransmissionObjectPtr & | t | ) | [private, virtual] |
The interference is here defined as: the total received signal power
Reimplemented from rise::ReceiverBase.
Definition at line 77 of file ReceiverBF.cpp.
| wns::Power ReceiverBF::getRxPower | ( | const TransmissionObjectPtr & | t, | |
| const TransmissionObjectPtr & | whenListeningToTO | |||
| ) | [private, virtual] |
Definition at line 52 of file ReceiverBF.cpp.
| wns::Power ReceiverBF::getTotalRxPower | ( | const TransmissionObjectPtr & | whenListeningToTO | ) | [private, virtual] |
NOTE: This is a very simple implementation. It assumes your receiver is working on the whole bandwidth of the PhysicalResource. If you need something sophisticated please go ahead and implement something on your own (that's why the method is virtual).
Definition at line 87 of file ReceiverBF.cpp.
| virtual void rise::ReceiverBF::removeBeam | ( | antenna::PatternId | id | ) | [inline, private, virtual] |
Definition at line 103 of file ReceiverBF.hpp.
| virtual void rise::ReceiverBF::setPowerReceivedForStation | ( | Station *const | id, | |
| wns::Power | power | |||
| ) | [inline, private, virtual] |
Definition at line 108 of file ReceiverBF.hpp.
| virtual void rise::ReceiverBF::startReceiving | ( | TransmissionObjectPtr & | TO, | |
| antenna::PatternId | patternId | |||
| ) | [inline, private, virtual] |
Definition at line 114 of file ReceiverBF.hpp.
| virtual void rise::ReceiverBF::stopReceiving | ( | TransmissionObjectPtr & | TO | ) | [inline, private, virtual] |
Definition at line 120 of file ReceiverBF.hpp.
| void ReceiverBF::writeCacheEntry | ( | PropCacheEntry & | cacheEntry, | |
| Transmitter * | t, | |||
| double | freq | |||
| ) | [private, virtual] |
Sets the current values for pathloss, shadowing and antennaGain in the given cache entry.
Reimplemented from rise::ReceiverBase.
Definition at line 106 of file ReceiverBF.cpp.
antenna::Beamforming* rise::ReceiverBF::antenna [protected] |
Definition at line 126 of file ReceiverBF.hpp.
1.5.5