SatRtnLinkTime is a singleton class initialized with superframe sequence. More...
#include "satellite-rtn-link-time.h"
Inheritance diagram for ns3::SatRtnLinkTime:
Collaboration diagram for ns3::SatRtnLinkTime:Public Member Functions | |
| SatRtnLinkTime () | |
| Default constructor. More... | |
| virtual | ~SatRtnLinkTime () |
| Destructor for SatRtnLinkTime. More... | |
| uint32_t | GetCurrentSuperFrameCount (uint8_t superFrameSeqId) const |
| Get currently running superframe count. More... | |
| uint32_t | GetCurrentSuperFrameCount (uint8_t superFrameSeqId, Time timingAdvance) const |
| Get superframe count for current superframe with a certain timing advance. More... | |
| Time | GetCurrentSuperFrameStartTime (uint8_t superFrameSeqId) const |
| Get currently running superframe start time. More... | |
| Time | GetCurrentSuperFrameTxTime (uint8_t superFrameSeqId, Time timingAdvance) const |
| Get superframe transmission time for current superframe with a certain timing advance. More... | |
| uint32_t | GetNextSuperFrameCount (uint8_t superFrameSeqId) const |
| Get next superframe count. More... | |
| uint32_t | GetNextSuperFrameCount (uint8_t superFrameSeqId, Time timingAdvance) const |
| Get superframe count for next superframe with a certain timing advance. More... | |
| Time | GetNextSuperFrameStartTime (uint8_t superFrameSeqId) const |
| Get next superframe start time. More... | |
| Time | GetNextSuperFrameTxTime (uint8_t superFrameSeqId, Time timingAdvance) const |
| Get superframe transmission time for next superframe with a certain timing advance. More... | |
| Time | GetSuperFrameDuration (uint8_t superFrameSeqId) const |
| Get superframe duration of a superframe sequence. More... | |
| Time | GetSuperFrameTxTime (uint8_t superFrameSeqId, uint32_t superFrameCount, Time timingAdvance) const |
| Get superframe transmission time for a UT with a certain timing advance. More... | |
| void | Initialize (Ptr< SatSuperframeSeq > seq) |
| Initialize with the superframe sequence. More... | |
Private Attributes | |
| Ptr< SatSuperframeSeq > | m_superframeSeq |
SatRtnLinkTime is a singleton class initialized with superframe sequence.
The class holds information related to return link superframe timing related to both NCC and UT scheduling.
Definition at line 38 of file satellite-rtn-link-time.h.
| ns3::SatRtnLinkTime::SatRtnLinkTime | ( | ) |
Default constructor.
Definition at line 34 of file satellite-rtn-link-time.cc.
|
virtual |
Destructor for SatRtnLinkTime.
Definition at line 40 of file satellite-rtn-link-time.cc.
| uint32_t ns3::SatRtnLinkTime::GetCurrentSuperFrameCount | ( | uint8_t | superFrameSeqId | ) | const |
Get currently running superframe count.
| superFrameSeqId | Superframe sequence id |
Definition at line 60 of file satellite-rtn-link-time.cc.
References m_superframeSeq.
Referenced by GetCurrentSuperFrameStartTime(), GetCurrentSuperFrameTxTime(), and GetNextSuperFrameCount().
Here is the caller graph for this function:| uint32_t ns3::SatRtnLinkTime::GetCurrentSuperFrameCount | ( | uint8_t | superFrameSeqId, |
| Time | timingAdvance | ||
| ) | const |
Get superframe count for current superframe with a certain timing advance.
| superFrameSeqId | Superframe sequence d |
| timingAdvance | A propagation delay between sender and receiver |
Definition at line 107 of file satellite-rtn-link-time.cc.
References m_superframeSeq.
| Time ns3::SatRtnLinkTime::GetCurrentSuperFrameStartTime | ( | uint8_t | superFrameSeqId | ) | const |
Get currently running superframe start time.
| superFrameSeqId | Superframe sequence id |
Definition at line 77 of file satellite-rtn-link-time.cc.
References GetCurrentSuperFrameCount(), and m_superframeSeq.
Here is the call graph for this function:| Time ns3::SatRtnLinkTime::GetCurrentSuperFrameTxTime | ( | uint8_t | superFrameSeqId, |
| Time | timingAdvance | ||
| ) | const |
Get superframe transmission time for current superframe with a certain timing advance.
| superFrameSeqId | Superframe sequence d |
| timingAdvance | A propagation delay between sender and receiver |
Definition at line 129 of file satellite-rtn-link-time.cc.
References GetCurrentSuperFrameCount(), and m_superframeSeq.
Here is the call graph for this function:| uint32_t ns3::SatRtnLinkTime::GetNextSuperFrameCount | ( | uint8_t | superFrameSeqId | ) | const |
Get next superframe count.
| superFrameSeqId | Superframe sequence id |
Definition at line 69 of file satellite-rtn-link-time.cc.
References GetCurrentSuperFrameCount().
Referenced by GetNextSuperFrameStartTime(), and GetNextSuperFrameTxTime().
Here is the call graph for this function:
Here is the caller graph for this function:| uint32_t ns3::SatRtnLinkTime::GetNextSuperFrameCount | ( | uint8_t | superFrameSeqId, |
| Time | timingAdvance | ||
| ) | const |
Get superframe count for next superframe with a certain timing advance.
| superFrameSeqId | Superframe sequence d |
| timingAdvance | A propagation delay between sender and receiver |
Definition at line 119 of file satellite-rtn-link-time.cc.
References GetCurrentSuperFrameCount().
Here is the call graph for this function:| Time ns3::SatRtnLinkTime::GetNextSuperFrameStartTime | ( | uint8_t | superFrameSeqId | ) | const |
Get next superframe start time.
| superFrameSeqId | Superframe sequence id |
Definition at line 86 of file satellite-rtn-link-time.cc.
References GetNextSuperFrameCount(), and m_superframeSeq.
Here is the call graph for this function:| Time ns3::SatRtnLinkTime::GetNextSuperFrameTxTime | ( | uint8_t | superFrameSeqId, |
| Time | timingAdvance | ||
| ) | const |
Get superframe transmission time for next superframe with a certain timing advance.
| superFrameSeqId | Superframe sequence d |
| timingAdvance | A propagation delay between sender and receiver |
Definition at line 142 of file satellite-rtn-link-time.cc.
References GetNextSuperFrameCount(), and m_superframeSeq.
Here is the call graph for this function:| Time ns3::SatRtnLinkTime::GetSuperFrameDuration | ( | uint8_t | superFrameSeqId | ) | const |
Get superframe duration of a superframe sequence.
| superFrameSeqId | Superframe sequence id |
Definition at line 52 of file satellite-rtn-link-time.cc.
References m_superframeSeq.
| Time ns3::SatRtnLinkTime::GetSuperFrameTxTime | ( | uint8_t | superFrameSeqId, |
| uint32_t | superFrameCount, | ||
| Time | timingAdvance | ||
| ) | const |
Get superframe transmission time for a UT with a certain timing advance.
| superFrameSeqId | Superframe sequence d |
| superFrameCount | Superframe count |
| timingAdvance | A propagation delay between sender and receiver |
Definition at line 95 of file satellite-rtn-link-time.cc.
References m_superframeSeq.
| void ns3::SatRtnLinkTime::Initialize | ( | Ptr< SatSuperframeSeq > | seq | ) |
Initialize with the superframe sequence.
| seq | Superframe sequence |
Definition at line 45 of file satellite-rtn-link-time.cc.
References m_superframeSeq.
|
private |
Definition at line 136 of file satellite-rtn-link-time.h.
Referenced by GetCurrentSuperFrameCount(), GetCurrentSuperFrameStartTime(), GetCurrentSuperFrameTxTime(), GetNextSuperFrameStartTime(), GetNextSuperFrameTxTime(), GetSuperFrameDuration(), GetSuperFrameTxTime(), and Initialize().