This class implements configuration for time slots (for super frames / frames) More...
#include "satellite-frame-conf.h"
Public Types | |
enum | SatTimeSlotType_t { SLOT_TYPE_C , SLOT_TYPE_TR , SLOT_TYPE_TRC } |
Types for time slot. More... | |
Public Member Functions | |
SatTimeSlotConf () | |
Default constructor for SatTimeSlotConf. More... | |
SatTimeSlotConf (Time startTime, uint32_t waveFormId, uint16_t carrierId, SatTimeSlotConf::SatTimeSlotType_t slotType) | |
Constructor for SatTimeSlotConf. More... | |
~SatTimeSlotConf () | |
Destructor for SatTimeSlotConf. More... | |
uint16_t | GetCarrierId () const |
Get carrier id of time slot (inside frame). More... | |
uint8_t | GetRcIndex () |
Get RC index of the time slot. More... | |
SatTimeSlotConf::SatTimeSlotType_t | GetSlotType () const |
Get time slot type. More... | |
Time | GetStartTime () const |
Get start time of time slot. More... | |
uint32_t | GetWaveFormId () const |
Get wave form id of time slot. More... | |
void | SetRcIndex (uint8_t rcIndex) |
Set RC index of the time slot. More... | |
void | SetSlotType (SatTimeSlotConf::SatTimeSlotType_t slotType) |
Set time slot type. More... | |
Private Attributes | |
uint16_t | m_frameCarrierId |
uint8_t | m_rcIndex |
SatTimeSlotType_t | m_slotType |
Time | m_startTime |
uint32_t | m_waveFormId |
This class implements configuration for time slots (for super frames / frames)
Definition at line 135 of file satellite-frame-conf.h.
Types for time slot.
Enumerator | |
---|---|
SLOT_TYPE_C | Control slot. |
SLOT_TYPE_TR | Traffic slot. |
SLOT_TYPE_TRC | Control or traffic slot. |
Definition at line 141 of file satellite-frame-conf.h.
ns3::SatTimeSlotConf::SatTimeSlotConf | ( | ) |
Default constructor for SatTimeSlotConf.
Definition at line 94 of file satellite-frame-conf.cc.
ns3::SatTimeSlotConf::SatTimeSlotConf | ( | Time | startTime, |
uint32_t | waveFormId, | ||
uint16_t | carrierId, | ||
SatTimeSlotConf::SatTimeSlotType_t | slotType | ||
) |
Constructor for SatTimeSlotConf.
startTime | Start time of time slot in side frame. |
waveFormId | Wave form id of time slot |
carrierId | Carrier id of time slot |
slotType | Time slot type |
Definition at line 107 of file satellite-frame-conf.cc.
ns3::SatTimeSlotConf::~SatTimeSlotConf | ( | ) |
Destructor for SatTimeSlotConf.
Definition at line 120 of file satellite-frame-conf.cc.
|
inline |
Get carrier id of time slot (inside frame).
Definition at line 197 of file satellite-frame-conf.h.
References m_frameCarrierId.
|
inline |
Get RC index of the time slot.
Definition at line 217 of file satellite-frame-conf.h.
References m_rcIndex.
|
inline |
Get time slot type.
Definition at line 227 of file satellite-frame-conf.h.
References m_slotType.
|
inline |
Get start time of time slot.
(inside frame)
Definition at line 177 of file satellite-frame-conf.h.
References m_startTime.
|
inline |
Get wave form id of time slot.
Definition at line 187 of file satellite-frame-conf.h.
References m_waveFormId.
|
inline |
Set RC index of the time slot.
rcIndex | RC index of the time slot. |
Definition at line 207 of file satellite-frame-conf.h.
References m_rcIndex.
|
inline |
Set time slot type.
slotType | Type of the time slot to set. |
Definition at line 237 of file satellite-frame-conf.h.
References m_slotType.
|
private |
Definition at line 245 of file satellite-frame-conf.h.
Referenced by GetCarrierId().
|
private |
Definition at line 246 of file satellite-frame-conf.h.
Referenced by GetRcIndex(), and SetRcIndex().
|
private |
Definition at line 248 of file satellite-frame-conf.h.
Referenced by GetSlotType(), and SetSlotType().
|
private |
Definition at line 243 of file satellite-frame-conf.h.
Referenced by GetStartTime().
|
private |
Definition at line 244 of file satellite-frame-conf.h.
Referenced by GetWaveFormId().