Constructs a cache of objects, where each object is responsible for a single propagation path loss calculations. More...
#include "propagation-cache.h"
 Inheritance diagram for ns3::PropagationCache< T >:
 Collaboration diagram for ns3::PropagationCache< T >:Classes | |
| struct | PropagationPathIdentifier | 
| Each path is identified by.  More... | |
Public Member Functions | |
| PropagationCache () | |
| ~PropagationCache () | |
| void | AddPathData (Ptr< T > data, Ptr< const MobilityModel > a, Ptr< const MobilityModel > b, uint32_t modelUid) | 
| Add a model to the path.  More... | |
| Ptr< T > | GetPathData (Ptr< const MobilityModel > a, Ptr< const MobilityModel > b, uint32_t modelUid) | 
| Get the model associated with the path.  More... | |
Private Types | |
| typedef std::map< PropagationPathIdentifier, Ptr< T > > | PathCache | 
| Typedef: PropagationPathIdentifier, Ptr<T>  More... | |
Private Attributes | |
| PathCache | m_pathCache | 
| Path cache.  More... | |
Constructs a cache of objects, where each object is responsible for a single propagation path loss calculations.
Propagation path a–>b and b–>a is the same thing. Propagation path is identified by a couple of MobilityModels and a spectrum model UID
Definition at line 35 of file propagation-cache.h.
      
  | 
  private | 
Typedef: PropagationPathIdentifier, Ptr<T>
Definition at line 108 of file propagation-cache.h.
      
  | 
  inline | 
Definition at line 38 of file propagation-cache.h.
      
  | 
  inline | 
Definition at line 39 of file propagation-cache.h.
      
  | 
  inline | 
Add a model to the path.
| data | the model to associate to the path | 
| a | 1st node mobility model | 
| b | 2nd node mobility model | 
| modelUid | model UID | 
Definition at line 66 of file propagation-cache.h.
      
  | 
  inline | 
Get the model associated with the path.
| a | 1st node mobility model | 
| b | 2nd node mobility model | 
| modelUid | model UID | 
Definition at line 48 of file propagation-cache.h.
      
  | 
  private | 
Path cache.
Definition at line 110 of file propagation-cache.h.
Referenced by ns3::PropagationCache< ns3::JakesProcess >::AddPathData(), and ns3::PropagationCache< ns3::JakesProcess >::GetPathData().