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


Public Member Functions | |
| void | attach (Transmitter *t, unsigned long int tId) |
| Attachs transmitter "t" to the cache. | |
| wns::Ratio | getLoss (Transmitter *txA, double frequency) |
| Retruns the momentary loss towards antenna txA at a specific frequency. | |
| H2Cache (receiver::ReceiverInterface *r) | |
| Default Constructor. | |
| void | invalidatePropagationEntries () |
| Invalidates the propagation entries for all Transmitters. | |
| void | invalidatePropagationEntries (Transmitter *t) |
| Invalidates the propagation entries for Transmitter "t". | |
| virtual | ~H2Cache () |
| Destructor. | |
Private Types | |
| typedef std::vector < PropCacheEntry > | CacheVector |
| typedef wns::container::FastList < Transmitter * > | TransmitterContainer |
| typedef TransmitterContainer::iterator | TransmitterIterator |
Private Attributes | |
| CacheVector | pathlossShadowGain |
| Cache that stores the total loss to all active Transmitters. | |
| TransmitterContainer | transmitters |
| List of all active transmitters. | |
Definition at line 41 of file h2cache.hpp.
typedef std::vector<PropCacheEntry> rise::H2Cache::CacheVector [private] |
Definition at line 71 of file h2cache.hpp.
typedef wns::container::FastList<Transmitter*> rise::H2Cache::TransmitterContainer [private] |
Definition at line 68 of file h2cache.hpp.
typedef TransmitterContainer::iterator rise::H2Cache::TransmitterIterator [private] |
Definition at line 69 of file h2cache.hpp.
| H2Cache::H2Cache | ( | receiver::ReceiverInterface * | r | ) |
Definition at line 42 of file h2cache.cpp.
| H2Cache::~H2Cache | ( | ) | [virtual] |
Definition at line 50 of file h2cache.cpp.
| void H2Cache::attach | ( | Transmitter * | t, | |
| unsigned long int | tId | |||
| ) |
Definition at line 69 of file h2cache.cpp.
| wns::Ratio H2Cache::getLoss | ( | Transmitter * | txA, | |
| double | frequency | |||
| ) | [virtual] |
| void H2Cache::invalidatePropagationEntries | ( | ) | [virtual] |
| void H2Cache::invalidatePropagationEntries | ( | Transmitter * | t | ) | [virtual] |
CacheVector rise::H2Cache::pathlossShadowGain [private] |
Cache stores PropCacheEntry objects, which contains pathloss, shadowing, antennaGain and computes the total loss.
Definition at line 78 of file h2cache.hpp.
Definition at line 80 of file h2cache.hpp.
1.5.5