This class implements the content of one individual DVB-S2 waveform. More...
#include "satellite-bbframe-conf.h"
Inheritance diagram for ns3::SatDvbS2Waveform:
Collaboration diagram for ns3::SatDvbS2Waveform:Public Member Functions | |
| SatDvbS2Waveform () | |
| Default constructor for SatDvbS2Waveform. More... | |
| SatDvbS2Waveform (SatEnums::SatModcod_t modcod, SatEnums::SatBbFrameType_t fType, Time frameLen, uint32_t payloadBits) | |
| Constructor for SatWaveform. More... | |
| void | Dump () const |
| Dump the contents of the waveform. More... | |
| SatEnums::SatBbFrameType_t | GetBbFrameType () const |
| Get BB frame type. More... | |
| double | GetCNoRequirement () const |
| Get C/No requirement corresponding a given BLER target. More... | |
| Time | GetFrameDuration () const |
| Get the frame duration in Time. More... | |
| SatEnums::SatModcod_t | GetModcod () const |
| Get MODCOD of this waveform. More... | |
| uint32_t | GetPayloadInBits () const |
| Get payload of this waveform in bits. More... | |
| void | SetCNoRequirement (double cnoRequirement) |
| Set the C/No requirement of the waveform in linear domain. More... | |
Private Attributes | |
| double | m_cnoRequirement |
| C/No requirement calculated with a certain BLER target from the link results. More... | |
| Time | m_frameDuration |
| Frame duration in Time. More... | |
| SatEnums::SatBbFrameType_t | m_frameType |
| Frame type: short, normal. More... | |
| SatEnums::SatModcod_t | m_modcod |
| MODCOD. More... | |
| uint32_t | m_payloadBits |
| Payload in bits. More... | |
This class implements the content of one individual DVB-S2 waveform.
Waveform is defined by modulation scheme, coding rate, payload size in bytes and frame duration in Time.
Definition at line 51 of file satellite-bbframe-conf.h.
| ns3::SatDvbS2Waveform::SatDvbS2Waveform | ( | ) |
Default constructor for SatDvbS2Waveform.
Default constructor is not meant to be used!
Definition at line 60 of file satellite-bbframe-conf.cc.
| ns3::SatDvbS2Waveform::SatDvbS2Waveform | ( | SatEnums::SatModcod_t | modcod, |
| SatEnums::SatBbFrameType_t | fType, | ||
| Time | frameLen, | ||
| uint32_t | payloadBits | ||
| ) |
Constructor for SatWaveform.
| modcod | MODCOD |
| fType | BB frame type (short, normal) |
| frameLen | BB frame length in Time |
| payloadBits | Payload in bits |
Definition at line 75 of file satellite-bbframe-conf.cc.
| void ns3::SatDvbS2Waveform::Dump | ( | ) | const |
Dump the contents of the waveform.
Definition at line 130 of file satellite-bbframe-conf.cc.
References ns3::SatEnums::GetModcodTypeName(), m_cnoRequirement, m_frameDuration, m_frameType, m_modcod, and m_payloadBits.
Here is the call graph for this function:| SatEnums::SatBbFrameType_t ns3::SatDvbS2Waveform::GetBbFrameType | ( | ) | const |
Get BB frame type.
Definition at line 95 of file satellite-bbframe-conf.cc.
References m_frameType.
| double ns3::SatDvbS2Waveform::GetCNoRequirement | ( | ) | const |
Get C/No requirement corresponding a given BLER target.
Definition at line 116 of file satellite-bbframe-conf.cc.
References m_cnoRequirement.
| Time ns3::SatDvbS2Waveform::GetFrameDuration | ( | ) | const |
Get the frame duration in Time.
Definition at line 109 of file satellite-bbframe-conf.cc.
References m_frameDuration.
| SatEnums::SatModcod_t ns3::SatDvbS2Waveform::GetModcod | ( | void | ) | const |
Get MODCOD of this waveform.
Definition at line 88 of file satellite-bbframe-conf.cc.
References m_modcod.
| uint32_t ns3::SatDvbS2Waveform::GetPayloadInBits | ( | ) | const |
Get payload of this waveform in bits.
Definition at line 102 of file satellite-bbframe-conf.cc.
References m_payloadBits.
| void ns3::SatDvbS2Waveform::SetCNoRequirement | ( | double | cnoRequirement | ) |
Set the C/No requirement of the waveform in linear domain.
based on the used link results.
| cnoRequirement | C/No Requirement |
Definition at line 123 of file satellite-bbframe-conf.cc.
References m_cnoRequirement.
|
private |
C/No requirement calculated with a certain BLER target from the link results.
Definition at line 138 of file satellite-bbframe-conf.h.
Referenced by Dump(), GetCNoRequirement(), and SetCNoRequirement().
|
private |
Frame duration in Time.
Definition at line 127 of file satellite-bbframe-conf.h.
Referenced by Dump(), and GetFrameDuration().
|
private |
Frame type: short, normal.
Definition at line 122 of file satellite-bbframe-conf.h.
Referenced by Dump(), and GetBbFrameType().
|
private |
MODCOD.
Definition at line 117 of file satellite-bbframe-conf.h.
Referenced by Dump(), and GetModcod().
|
private |
Payload in bits.
Definition at line 132 of file satellite-bbframe-conf.h.
Referenced by Dump(), and GetPayloadInBits().