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


Public Member Functions | |
| wns::Ratio | getLoss (Transmitter *t, double freq) |
| HashCache (ReceiverBase *r) | |
| Default Constructor. | |
| void | invalidatePropagationEntries () |
| void | invalidatePropagationEntries (Transmitter *t) |
| virtual | ~HashCache () |
| Destructor. | |
Private Types | |
| typedef Level2Hash::iterator | FrequencyIterator |
| typedef PointerHashMap < Transmitter *, Level2Hash > | Level1Hash |
| typedef FreqHash< PropCacheEntry > | Level2Hash |
| typedef Level1Hash::iterator | TransmitterIterator |
Private Attributes | |
| Level1Hash | propHash |
Definition at line 48 of file hashcache.hpp.
typedef Level2Hash::iterator rise::HashCache::FrequencyIterator [private] |
Definition at line 73 of file hashcache.hpp.
typedef PointerHashMap<Transmitter*, Level2Hash> rise::HashCache::Level1Hash [private] |
Definition at line 72 of file hashcache.hpp.
typedef FreqHash<PropCacheEntry> rise::HashCache::Level2Hash [private] |
Definition at line 71 of file hashcache.hpp.
typedef Level1Hash::iterator rise::HashCache::TransmitterIterator [private] |
Definition at line 74 of file hashcache.hpp.
| HashCache::HashCache | ( | ReceiverBase * | r | ) | [explicit] |
Definition at line 40 of file hashcache.cpp.
| HashCache::~HashCache | ( | ) | [virtual] |
Definition at line 45 of file hashcache.cpp.
| wns::Ratio HashCache::getLoss | ( | Transmitter * | t, | |
| double | freq | |||
| ) | [virtual] |
Returns loss dependent on pathloss, shadowing and antennaGain twoards antenna txA. Update propagation condition for this antenna in cache.
Implements rise::PropagationCache.
Definition at line 49 of file hashcache.cpp.
| void HashCache::invalidatePropagationEntries | ( | ) | [virtual] |
For all Transmitter set propagation conditions in cache invalid.
Implements rise::PropagationCache.
Definition at line 67 of file hashcache.cpp.
| void HashCache::invalidatePropagationEntries | ( | Transmitter * | t | ) | [virtual] |
Set propagation conditions in cache for 't' invalid.
Implements rise::PropagationCache.
Definition at line 58 of file hashcache.cpp.
Level1Hash rise::HashCache::propHash [private] |
3-dim hash that stores for each triple of Transmitter, Receiver and Frequency the values of their pathloss, shadowing and antennaGain
Definition at line 80 of file hashcache.hpp.
1.5.5