Each path is identified by. More...
Collaboration diagram for ns3::PropagationCache< T >::PropagationPathIdentifier:Public Member Functions | |
| PropagationPathIdentifier (Ptr< const MobilityModel > a, Ptr< const MobilityModel > b, uint32_t modelUid) | |
| Constructor. | |
| bool | operator< (const PropagationPathIdentifier &other) const |
| Less-than operator. | |
Public Attributes | |
| Ptr< const MobilityModel > | m_dstMobility |
| 2nd node mobility model | |
| uint32_t | m_spectrumModelUid |
| model UID | |
| Ptr< const MobilityModel > | m_srcMobility |
| 1st node mobility model | |
Each path is identified by.
Definition at line 84 of file propagation-cache.h.
|
inline |
Constructor.
| a | 1st node mobility model |
| b | 2nd node mobility model |
| modelUid | model UID |
Definition at line 92 of file propagation-cache.h.
References m_dstMobility, m_spectrumModelUid, and m_srcMobility.
Referenced by operator<().
Here is the caller graph for this function:
|
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 117 of file propagation-cache.h.
References PropagationPathIdentifier(), m_dstMobility, m_spectrumModelUid, and m_srcMobility.
Here is the call graph for this function:| Ptr<const MobilityModel> ns3::PropagationCache< T >::PropagationPathIdentifier::m_dstMobility |
2nd node mobility model
Definition at line 102 of file propagation-cache.h.
Referenced by PropagationPathIdentifier(), and operator<().
| uint32_t ns3::PropagationCache< T >::PropagationPathIdentifier::m_spectrumModelUid |
model UID
Definition at line 103 of file propagation-cache.h.
Referenced by PropagationPathIdentifier(), and operator<().
| Ptr<const MobilityModel> ns3::PropagationCache< T >::PropagationPathIdentifier::m_srcMobility |
1st node mobility model
Definition at line 101 of file propagation-cache.h.
Referenced by PropagationPathIdentifier(), and operator<().