SduTxState Struct Reference¶
|
Simu5G
|
SduTxState Struct Reference
#include <RlcSduSlidingWindowTransmissionBuffer.h>
Public Member Functions | |
| uint32_t | getBytesTransmitted () const |
| Calculates how many bytes of this specific SDU have already been transmitted. | |
| uint32_t | getNextByteToTx () const |
| Finds the next available byte range that has not been transmitted. | |
| void | markTransmitted (uint32_t start, uint32_t end) |
| Marks a range as transmitted. | |
Detailed Description
Manages the transmission state of a single SDU.
Member Function Documentation
◆ getBytesTransmitted()
|
inline |
Calculates how many bytes of this specific SDU have already been transmitted.
◆ getNextByteToTx()
|
inline |
Finds the next available byte range that has not been transmitted.
- Parameters
-
grantSize Maximum bytes allowed by MAC. outStart Output: starting byte index. outEnd Output: ending byte index.
- Returns
- true if a segment (even partial) was found.
◆ markTransmitted()
|
inline |
Marks a range as transmitted.
Generated by