Each path is identified by. More...
Public Member Functions | |
PropagationPathIdentifier (Ptr< const MobilityModel > a, Ptr< const MobilityModel > b, uint32_t modelUid) | |
Constructor. More... | |
bool | operator< (const PropagationPathIdentifier &other) const |
Less-than operator. More... | |
Public Attributes | |
Ptr< const MobilityModel > | m_dstMobility |
2nd node mobility model More... | |
uint32_t | m_spectrumModelUid |
model UID More... | |
Ptr< const MobilityModel > | m_srcMobility |
1st node mobility model More... | |
Each path is identified by.
Definition at line 74 of file propagation-cache.h.
|
inline |
Constructor.
a | 1st node mobility model |
b | 2nd node mobility model |
modelUid | model UID |
Definition at line 82 of file propagation-cache.h.
|
inline |
Less-than operator.
The goal of this operator is just to provide a stable comparison to be used in containers requiring a order (of any kind).
If the models are different, the comparison is based on their Uid. Otherwise, the comparison is based on the pointers of the Mobility models.
other | Right value of the operator. |
Links are supposed to be symmetrical!
Definition at line 101 of file propagation-cache.h.
References ns3::PropagationCache< T >::PropagationPathIdentifier::m_dstMobility, ns3::PropagationCache< T >::PropagationPathIdentifier::m_spectrumModelUid, ns3::PropagationCache< T >::PropagationPathIdentifier::m_srcMobility, max, and min.
Ptr<const MobilityModel> ns3::PropagationCache< T >::PropagationPathIdentifier::m_dstMobility |
2nd node mobility model
Definition at line 86 of file propagation-cache.h.
Referenced by ns3::PropagationCache< T >::PropagationPathIdentifier::operator<().
uint32_t ns3::PropagationCache< T >::PropagationPathIdentifier::m_spectrumModelUid |
model UID
Definition at line 87 of file propagation-cache.h.
Referenced by ns3::PropagationCache< T >::PropagationPathIdentifier::operator<().
Ptr<const MobilityModel> ns3::PropagationCache< T >::PropagationPathIdentifier::m_srcMobility |
1st node mobility model
Definition at line 85 of file propagation-cache.h.
Referenced by ns3::PropagationCache< T >::PropagationPathIdentifier::operator<().