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


Public Member Functions | |
| wns::Ratio | getLoss (Transmitter *t, double frequency) |
| Returns the loss towards antenna 'txA' at a specific frequency. | |
| IdVectorCache (receiver::ReceiverInterface *r) | |
| Default Constructor. | |
| void | invalidatePropagationEntries () |
| Invalidates the propagation entries for Transmitters. | |
| void | invalidatePropagationEntries (Transmitter *t) |
| Invalidates the propagation entries for Transmitter "t" towards all Receivers. | |
| virtual | ~IdVectorCache () |
| Destructor. | |
Private Types | |
| typedef std::vector < PropCacheEntry > | CacheVector |
| Struct that stores a list of PropCacheEntry objects. | |
| typedef wns::container::FastList < Transmitter * > | TransmitterContainer |
| typedef TransmitterContainer::iterator | TransmitterIterator |
Private Member Functions | |
| void | attach (Transmitter *t, unsigned long int tId) |
| Attaches transmitter to cache using its id. | |
Private Attributes | |
| CacheVector | pathlossShadowGain |
| Cache that stores the total loss towards all active Transmitters. | |
| TransmitterContainer | transmitters |
| List of all active transmitters. | |
Definition at line 45 of file idvectorcache.hpp.
typedef std::vector<PropCacheEntry> rise::IdVectorCache::CacheVector [private] |
Definition at line 73 of file idvectorcache.hpp.
typedef wns::container::FastList<Transmitter*> rise::IdVectorCache::TransmitterContainer [private] |
Definition at line 69 of file idvectorcache.hpp.
typedef TransmitterContainer::iterator rise::IdVectorCache::TransmitterIterator [private] |
Definition at line 70 of file idvectorcache.hpp.
| IdVectorCache::IdVectorCache | ( | receiver::ReceiverInterface * | r | ) |
Definition at line 43 of file idvectorcache.cpp.
| IdVectorCache::~IdVectorCache | ( | ) | [virtual] |
Definition at line 48 of file idvectorcache.cpp.
| void IdVectorCache::attach | ( | Transmitter * | t, | |
| unsigned long int | tId | |||
| ) | [private] |
Definition at line 63 of file idvectorcache.cpp.
| wns::Ratio IdVectorCache::getLoss | ( | Transmitter * | t, | |
| double | frequency | |||
| ) | [virtual] |
| void IdVectorCache::invalidatePropagationEntries | ( | ) | [virtual] |
| void IdVectorCache::invalidatePropagationEntries | ( | Transmitter * | t | ) | [virtual] |
Cache stores PropCacheEntry objects, which contains pathloss, shadowing, antennaGain and computes the total loss.
Definition at line 80 of file idvectorcache.hpp.
Definition at line 82 of file idvectorcache.hpp.
1.5.5