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


Public Member Functions | |
| virtual wns::Ratio | getLoss (Transmitter *txA, double freq)=0 |
| Computes the loss from the receivers antenna towards antenna "txA" at a specific frequency. | |
| virtual void | invalidatePropagationEntries ()=0 |
| Invalidates the propagation entries for all Transmitters. | |
| virtual void | invalidatePropagationEntries (Transmitter *t)=0 |
| Invalidates the propagation entries for Transmitter "t". | |
| PropagationCache (receiver::ReceiverInterface *r, const std::string &name) | |
| Default constructor. | |
| virtual | ~PropagationCache () |
| Default destructor. | |
Protected Member Functions | |
| virtual void | updatePropEntry (PropCacheEntry &cacheEntry, Transmitter *t, double freq) |
| Computes the loss and stores it in the given PSG object. In the given PSG object the attributes pathloss, shadowing and antennaGain will be updated. | |
Protected Attributes | |
| RISELogger | log |
| Logs messages to a main logger. | |
| receiver::ReceiverInterface * | receiver |
| Receiver the cache belongs to. | |
Three functions have to be reimplemented:
Definition at line 101 of file propagationcache.hpp.
| rise::PropagationCache::PropagationCache | ( | receiver::ReceiverInterface * | r, | |
| const std::string & | name | |||
| ) |
| PropagationCache::~PropagationCache | ( | ) | [virtual] |
Definition at line 50 of file propagationcache.cpp.
| virtual wns::Ratio rise::PropagationCache::getLoss | ( | Transmitter * | txA, | |
| double | freq | |||
| ) | [pure virtual] |
This method is called by the Receiver and computes the loss towards antenna "txA" at a specific frequency.
Different ways to implement this method are possible:
Implemented in rise::H2Cache, rise::HashCache, rise::IdVectorCache, rise::NoCache, and rise::VectorCache.
| virtual void rise::PropagationCache::invalidatePropagationEntries | ( | ) | [pure virtual] |
Implemented in rise::H2Cache, rise::HashCache, rise::IdVectorCache, rise::NoCache, and rise::VectorCache.
| virtual void rise::PropagationCache::invalidatePropagationEntries | ( | Transmitter * | t | ) | [pure virtual] |
Implemented in rise::H2Cache, rise::HashCache, rise::IdVectorCache, rise::NoCache, and rise::VectorCache.
| void PropagationCache::updatePropEntry | ( | PropCacheEntry & | cacheEntry, | |
| Transmitter * | t, | |||
| double | freq | |||
| ) | [protected, virtual] |
Definition at line 54 of file propagationcache.cpp.
RISELogger rise::PropagationCache::log [protected] |
Definition at line 155 of file propagationcache.hpp.
Definition at line 151 of file propagationcache.hpp.
1.5.5