A Discrete-Event Network Simulator
API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
ns3::PropagationCache< T > Class Template Reference

Constructs a cache of objects, where each obect 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)
 
Ptr< T > GetPathData (Ptr< const MobilityModel > a, Ptr< const MobilityModel > b, uint32_t modelUid)
 

Private Types

typedef std::map
< PropagationPathIdentifier,
Ptr< T > > 
PathCache
 

Private Attributes

PathCache m_pathCache
 

Detailed Description

template<class T>
class ns3::PropagationCache< T >

Constructs a cache of objects, where each obect 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.

Member Typedef Documentation

template<class T>
typedef std::map<PropagationPathIdentifier, Ptr<T> > ns3::PropagationCache< T >::PathCache
private

Definition at line 84 of file propagation-cache.h.

Constructor & Destructor Documentation

template<class T>
ns3::PropagationCache< T >::PropagationCache ( )
inline

Definition at line 38 of file propagation-cache.h.

template<class T>
ns3::PropagationCache< T >::~PropagationCache ( )
inline

Definition at line 39 of file propagation-cache.h.

Member Function Documentation

template<class T>
void ns3::PropagationCache< T >::AddPathData ( Ptr< T >  data,
Ptr< const MobilityModel a,
Ptr< const MobilityModel b,
uint32_t  modelUid 
)
inline

Definition at line 50 of file propagation-cache.h.

template<class T>
Ptr<T> ns3::PropagationCache< T >::GetPathData ( Ptr< const MobilityModel a,
Ptr< const MobilityModel b,
uint32_t  modelUid 
)
inline

Definition at line 40 of file propagation-cache.h.

Member Data Documentation


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