SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Public Member Functions | Private Attributes | List of all members
qrtplib::RTPNTPTime Class Reference

#include <rtptimeutilities.h>

Public Member Functions

 RTPNTPTime (uint32_t m, uint32_t l)
 
uint32_t GetMSW () const
 
uint32_t GetLSW () const
 

Private Attributes

uint32_t msw
 
uint32_t lsw
 

Detailed Description

This is a simple wrapper for the most significant word (MSW) and least significant word (LSW) of an NTP timestamp.

Definition at line 74 of file rtptimeutilities.h.

Constructor & Destructor Documentation

◆ RTPNTPTime()

qrtplib::RTPNTPTime::RTPNTPTime ( uint32_t  m,
uint32_t  l 
)
inline

This constructor creates and instance with MSW m and LSW l.

Definition at line 78 of file rtptimeutilities.h.

79  {
80  msw = m;
81  lsw = l;
82  }

Member Function Documentation

◆ GetLSW()

uint32_t qrtplib::RTPNTPTime::GetLSW ( ) const
inline

Returns the least significant word.

Definition at line 91 of file rtptimeutilities.h.

Referenced by qrtplib::RTCPPacketBuilder::FillInReportBlocks(), qrtplib::RTPSourceData::INF_GetRoundtripTime(), qrtplib::RTPTime::RTPTime(), and qrtplib::RTCPCompoundPacketBuilder::StartSenderReport().

92  {
93  return lsw;
94  }
+ Here is the caller graph for this function:

◆ GetMSW()

uint32_t qrtplib::RTPNTPTime::GetMSW ( ) const
inline

Returns the most significant word.

Definition at line 85 of file rtptimeutilities.h.

Referenced by qrtplib::RTCPPacketBuilder::FillInReportBlocks(), qrtplib::RTPSourceData::INF_GetRoundtripTime(), qrtplib::RTPTime::RTPTime(), and qrtplib::RTCPCompoundPacketBuilder::StartSenderReport().

86  {
87  return msw;
88  }
+ Here is the caller graph for this function:

Member Data Documentation

◆ lsw

uint32_t qrtplib::RTPNTPTime::lsw
private

Definition at line 96 of file rtptimeutilities.h.

◆ msw

uint32_t qrtplib::RTPNTPTime::msw
private

Definition at line 96 of file rtptimeutilities.h.


The documentation for this class was generated from the following file: