SequenceNumber10 class. More...
#include "lte-rlc-sequence-number.h"
Collaboration diagram for ns3::SequenceNumber10:Public Member Functions | |
| SequenceNumber10 () | |
| SequenceNumber10 (const SequenceNumber10 &value) | |
| Constructor. | |
| SequenceNumber10 (uint16_t value) | |
| Constructor. | |
| uint16_t | GetValue () const |
| Extracts the numeric value of the sequence number. | |
| bool | operator!= (const SequenceNumber10 &other) const |
| inequality operator | |
| SequenceNumber10 | operator+ (uint16_t delta) const |
| addition operator | |
| SequenceNumber10 | operator++ (int) |
| postfix ++ operator | |
| uint16_t | operator- (const SequenceNumber10 &other) const |
| subtraction operator | |
| SequenceNumber10 | operator- (uint16_t delta) const |
| subtraction operator | |
| bool | operator< (const SequenceNumber10 &other) const |
| less than operator | |
| bool | operator<= (const SequenceNumber10 &other) const |
| less than or equal operator | |
| SequenceNumber10 & | operator= (uint16_t value) |
| Assignment operator. | |
| bool | operator== (const SequenceNumber10 &other) const |
| equality operator | |
| bool | operator> (const SequenceNumber10 &other) const |
| greater than operator | |
| bool | operator>= (const SequenceNumber10 &other) const |
| greater than or equal operator | |
| void | SetModulusBase (SequenceNumber10 modulusBase) |
| Set modulus base. | |
| void | SetModulusBase (uint16_t modulusBase) |
| Set modulus base. | |
Private Attributes | |
| uint16_t | m_modulusBase |
| the modulus base | |
| uint16_t | m_value |
| the value | |
Friends | |
| std::ostream & | operator<< (std::ostream &os, const SequenceNumber10 &val) |
| Ostream output function. | |
SequenceNumber10 class.
Definition at line 22 of file lte-rlc-sequence-number.h.
|
inline |
Definition at line 25 of file lte-rlc-sequence-number.h.
References m_modulusBase, and m_value.
Referenced by SequenceNumber10(), operator!=(), operator+(), operator++(), operator-(), operator-(), operator<(), operator<<, operator<=(), operator=(), operator==(), operator>(), operator>=(), and SetModulusBase().
Here is the caller graph for this function:
|
inlineexplicit |
Constructor.
| value | the value |
Definition at line 36 of file lte-rlc-sequence-number.h.
References m_modulusBase, and m_value.
|
inline |
Constructor.
| value | the value |
Definition at line 47 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), m_modulusBase, and m_value.
Here is the call graph for this function:
|
inline |
Extracts the numeric value of the sequence number.
Definition at line 69 of file lte-rlc-sequence-number.h.
References m_value.
Referenced by ns3::LteRlcAm::DoNotifyTxOpportunity(), ns3::LteRlcAm::DoReceivePdu(), ns3::LteRlcUm::DoReceivePdu(), ns3::LteRlcUm::ExpireReorderingTimer(), ns3::LteRlcAmHeader::IsNackPresent(), and ns3::LteRlcUm::ReassembleSnInterval().
Here is the caller graph for this function:
|
inline |
inequality operator
| other | the object to compare |
Definition at line 167 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), and m_value.
Here is the call graph for this function:
|
inline |
addition operator
| delta | the amount to add |
Definition at line 109 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), m_modulusBase, m_value, and SetModulusBase().
Here is the call graph for this function:
|
inline |
postfix ++ operator
Definition at line 96 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), m_modulusBase, m_value, and SetModulusBase().
Here is the call graph for this function:
|
inline |
subtraction operator
| other | the amount to subtract |
Definition at line 133 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), and m_value.
Here is the call graph for this function:
|
inline |
subtraction operator
| delta | the amount to subtract |
Definition at line 121 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), m_modulusBase, m_value, and SetModulusBase().
Here is the call graph for this function:
|
inline |
less than operator
| other | the object to compare |
Definition at line 197 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), m_value, and operator>().
Here is the call graph for this function:
|
inline |
less than or equal operator
| other | the object to compare |
Definition at line 177 of file lte-rlc-sequence-number.h.
References SequenceNumber10().
Here is the call graph for this function:
|
inline |
Assignment operator.
| value | the value |
Definition at line 59 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), and m_value.
Here is the call graph for this function:
|
inline |
equality operator
| other | the object to compare |
Definition at line 157 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), and m_value.
Here is the call graph for this function:
|
inline |
greater than operator
| other | the object to compare |
Definition at line 144 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), m_modulusBase, m_value, and NS_ASSERT.
Referenced by operator<().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
greater than or equal operator
| other | the object to compare |
Definition at line 187 of file lte-rlc-sequence-number.h.
References SequenceNumber10().
Here is the call graph for this function:
|
inline |
Set modulus base.
| modulusBase | the modulus |
Definition at line 78 of file lte-rlc-sequence-number.h.
References SequenceNumber10(), m_modulusBase, and m_value.
Referenced by ns3::LteRlcAm::DoNotifyTxOpportunity(), ns3::LteRlcAm::DoReceivePdu(), ns3::LteRlcUm::DoReceivePdu(), ns3::LteRlcAm::IsInsideReceivingWindow(), ns3::LteRlcUm::IsInsideReorderingWindow(), operator+(), operator++(), and operator-().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Set modulus base.
| modulusBase | the modulus |
Definition at line 87 of file lte-rlc-sequence-number.h.
References m_modulusBase.
|
friend |
Ostream output function.
| os | the output stream |
| val | the sequence number |
Definition at line 20 of file lte-rlc-sequence-number.cc.
References SequenceNumber10(), and m_value.
|
private |
the modulus base
Definition at line 206 of file lte-rlc-sequence-number.h.
Referenced by SequenceNumber10(), SequenceNumber10(), SequenceNumber10(), operator+(), operator++(), operator-(), operator>(), SetModulusBase(), and SetModulusBase().
|
private |
the value
Definition at line 205 of file lte-rlc-sequence-number.h.
Referenced by SequenceNumber10(), SequenceNumber10(), SequenceNumber10(), GetValue(), operator!=(), operator+(), operator++(), operator-(), operator-(), operator<(), operator<<, operator=(), operator==(), operator>(), and SetModulusBase().