User Manual, Developers Guide and API Documentation

rise::H2Cache Class Reference

Interface of class H2Cache. More...

#include <transceiver/cache/h2cache.hpp>

Inheritance diagram for rise::H2Cache:

Inheritance graph
[legend]
Collaboration diagram for rise::H2Cache:

Collaboration graph
[legend]

List of all members.

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.


Detailed Description

The H2Cache stores the loss between its receiver and the transmitters in a vector sorted by the ids of the transmitters.

Definition at line 41 of file h2cache.hpp.


Member Typedef Documentation

typedef std::vector<PropCacheEntry> rise::H2Cache::CacheVector [private]

Definition at line 71 of file h2cache.hpp.

Definition at line 68 of file h2cache.hpp.

Definition at line 69 of file h2cache.hpp.


Constructor & Destructor Documentation

H2Cache::H2Cache ( receiver::ReceiverInterface r  ) 

Definition at line 42 of file h2cache.cpp.

H2Cache::~H2Cache (  )  [virtual]

Definition at line 50 of file h2cache.cpp.


Member Function Documentation

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]

Implements rise::PropagationCache.

Definition at line 54 of file h2cache.cpp.

void H2Cache::invalidatePropagationEntries (  )  [virtual]

Implements rise::PropagationCache.

Definition at line 87 of file h2cache.cpp.

void H2Cache::invalidatePropagationEntries ( Transmitter t  )  [virtual]

Implements rise::PropagationCache.

Definition at line 79 of file h2cache.cpp.


Member Data Documentation

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.


The documentation for this class was generated from the following files:

Generated on Sat May 26 03:32:36 2012 for openWNS by  doxygen 1.5.5