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 | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
LimeSDROutput::MsgReportStreamInfo Class Reference

#include <limesdroutput.h>

+ Inheritance diagram for LimeSDROutput::MsgReportStreamInfo:
+ Collaboration diagram for LimeSDROutput::MsgReportStreamInfo:

Public Member Functions

bool getSuccess () const
 
bool getActive () const
 
uint32_t getFifoFilledCount () const
 
uint32_t getFifoSize () const
 
uint32_t getUnderrun () const
 
uint32_t getOverrun () const
 
uint32_t getDroppedPackets () const
 
float getLinkRate () const
 
uint64_t getTimestamp () const
 
- Public Member Functions inherited from Message
 Message ()
 
virtual ~Message ()
 
virtual const char * getIdentifier () const
 
virtual bool matchIdentifier (const char *identifier) const
 
void * getDestination () const
 
void setDestination (void *destination)
 

Static Public Member Functions

static MsgReportStreamInfocreate (bool success, bool active, uint32_t fifoFilledCount, uint32_t fifoSize, uint32_t underrun, uint32_t overrun, uint32_t droppedPackets, float linkRate, uint64_t timestamp)
 
- Static Public Member Functions inherited from Message
static bool match (const Message *message)
 

Private Member Functions

 MsgReportStreamInfo (bool success, bool active, uint32_t fifoFilledCount, uint32_t fifoSize, uint32_t underrun, uint32_t overrun, uint32_t droppedPackets, float linkRate, uint64_t timestamp)
 

Private Attributes

bool m_success
 
bool m_active
 Indicates whether the stream is currently active. More...
 
uint32_t m_fifoFilledCount
 Number of samples in FIFO buffer. More...
 
uint32_t m_fifoSize
 Size of FIFO buffer. More...
 
uint32_t m_underrun
 FIFO underrun count. More...
 
uint32_t m_overrun
 FIFO overrun count. More...
 
uint32_t m_droppedPackets
 Number of dropped packets by HW. More...
 
float m_linkRate
 Combined data rate of all stream of the same direction (TX or RX) More...
 
uint64_t m_timestamp
 Current HW timestamp. More...
 

Additional Inherited Members

- Protected Attributes inherited from Message
void * m_destination
 
- Static Protected Attributes inherited from Message
static const char * m_identifier = 0
 

Detailed Description

Definition at line 112 of file limesdroutput.h.

Constructor & Destructor Documentation

◆ MsgReportStreamInfo()

LimeSDROutput::MsgReportStreamInfo::MsgReportStreamInfo ( bool  success,
bool  active,
uint32_t  fifoFilledCount,
uint32_t  fifoSize,
uint32_t  underrun,
uint32_t  overrun,
uint32_t  droppedPackets,
float  linkRate,
uint64_t  timestamp 
)
inlineprivate

Definition at line 163 of file limesdroutput.h.

References LimeSDROutput::deserialize(), LimeSDROutput::destroy(), LimeSDROutput::init(), LimeSDROutput::LimeSDROutput(), LimeSDROutput::serialize(), LimeSDROutput::start(), LimeSDROutput::stop(), and LimeSDROutput::~LimeSDROutput().

173  :
174  Message(),
175  m_success(success),
176  m_active(active),
177  m_fifoFilledCount(fifoFilledCount),
178  m_fifoSize(fifoSize),
179  m_underrun(underrun),
180  m_overrun(overrun),
181  m_droppedPackets(droppedPackets),
182  m_linkRate(linkRate),
183  m_timestamp(timestamp)
184  { }
float m_linkRate
Combined data rate of all stream of the same direction (TX or RX)
uint32_t m_fifoFilledCount
Number of samples in FIFO buffer.
bool m_active
Indicates whether the stream is currently active.
uint32_t m_underrun
FIFO underrun count.
uint32_t m_fifoSize
Size of FIFO buffer.
uint64_t m_timestamp
Current HW timestamp.
uint32_t m_overrun
FIFO overrun count.
Message()
Definition: message.cpp:26
uint32_t m_droppedPackets
Number of dropped packets by HW.
+ Here is the call graph for this function:

Member Function Documentation

◆ create()

static MsgReportStreamInfo* LimeSDROutput::MsgReportStreamInfo::create ( bool  success,
bool  active,
uint32_t  fifoFilledCount,
uint32_t  fifoSize,
uint32_t  underrun,
uint32_t  overrun,
uint32_t  droppedPackets,
float  linkRate,
uint64_t  timestamp 
)
inlinestatic

Definition at line 126 of file limesdroutput.h.

Referenced by LimeSDROutput::handleMessage().

137  {
138  return new MsgReportStreamInfo(
139  success,
140  active,
141  fifoFilledCount,
142  fifoSize,
143  underrun,
144  overrun,
145  droppedPackets,
146  linkRate,
147  timestamp
148  );
149  }
MsgReportStreamInfo(bool success, bool active, uint32_t fifoFilledCount, uint32_t fifoSize, uint32_t underrun, uint32_t overrun, uint32_t droppedPackets, float linkRate, uint64_t timestamp)
+ Here is the caller graph for this function:

◆ getActive()

bool LimeSDROutput::MsgReportStreamInfo::getActive ( ) const
inline

Definition at line 117 of file limesdroutput.h.

Referenced by LimeSDROutputGUI::handleMessage().

117 { return m_active; }
bool m_active
Indicates whether the stream is currently active.
+ Here is the caller graph for this function:

◆ getDroppedPackets()

uint32_t LimeSDROutput::MsgReportStreamInfo::getDroppedPackets ( ) const
inline

Definition at line 122 of file limesdroutput.h.

Referenced by LimeSDROutputGUI::handleMessage().

122 { return m_droppedPackets; }
uint32_t m_droppedPackets
Number of dropped packets by HW.
+ Here is the caller graph for this function:

◆ getFifoFilledCount()

uint32_t LimeSDROutput::MsgReportStreamInfo::getFifoFilledCount ( ) const
inline

Definition at line 118 of file limesdroutput.h.

Referenced by LimeSDROutputGUI::handleMessage().

118 { return m_fifoFilledCount; }
uint32_t m_fifoFilledCount
Number of samples in FIFO buffer.
+ Here is the caller graph for this function:

◆ getFifoSize()

uint32_t LimeSDROutput::MsgReportStreamInfo::getFifoSize ( ) const
inline

Definition at line 119 of file limesdroutput.h.

Referenced by LimeSDROutputGUI::handleMessage().

119 { return m_fifoSize; }
uint32_t m_fifoSize
Size of FIFO buffer.
+ Here is the caller graph for this function:

◆ getLinkRate()

float LimeSDROutput::MsgReportStreamInfo::getLinkRate ( ) const
inline

Definition at line 123 of file limesdroutput.h.

Referenced by LimeSDROutputGUI::handleMessage().

123 { return m_linkRate; }
float m_linkRate
Combined data rate of all stream of the same direction (TX or RX)
+ Here is the caller graph for this function:

◆ getOverrun()

uint32_t LimeSDROutput::MsgReportStreamInfo::getOverrun ( ) const
inline

Definition at line 121 of file limesdroutput.h.

Referenced by LimeSDROutputGUI::handleMessage().

121 { return m_overrun; }
uint32_t m_overrun
FIFO overrun count.
+ Here is the caller graph for this function:

◆ getSuccess()

bool LimeSDROutput::MsgReportStreamInfo::getSuccess ( ) const
inline

Definition at line 116 of file limesdroutput.h.

Referenced by LimeSDROutputGUI::handleMessage().

+ Here is the caller graph for this function:

◆ getTimestamp()

uint64_t LimeSDROutput::MsgReportStreamInfo::getTimestamp ( ) const
inline

Definition at line 124 of file limesdroutput.h.

124 { return m_timestamp; }
uint64_t m_timestamp
Current HW timestamp.

◆ getUnderrun()

uint32_t LimeSDROutput::MsgReportStreamInfo::getUnderrun ( ) const
inline

Definition at line 120 of file limesdroutput.h.

Referenced by LimeSDROutputGUI::handleMessage().

120 { return m_underrun; }
uint32_t m_underrun
FIFO underrun count.
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_active

bool LimeSDROutput::MsgReportStreamInfo::m_active
private

Indicates whether the stream is currently active.

Definition at line 154 of file limesdroutput.h.

◆ m_droppedPackets

uint32_t LimeSDROutput::MsgReportStreamInfo::m_droppedPackets
private

Number of dropped packets by HW.

Definition at line 159 of file limesdroutput.h.

◆ m_fifoFilledCount

uint32_t LimeSDROutput::MsgReportStreamInfo::m_fifoFilledCount
private

Number of samples in FIFO buffer.

Definition at line 155 of file limesdroutput.h.

◆ m_fifoSize

uint32_t LimeSDROutput::MsgReportStreamInfo::m_fifoSize
private

Size of FIFO buffer.

Definition at line 156 of file limesdroutput.h.

◆ m_linkRate

float LimeSDROutput::MsgReportStreamInfo::m_linkRate
private

Combined data rate of all stream of the same direction (TX or RX)

Definition at line 160 of file limesdroutput.h.

◆ m_overrun

uint32_t LimeSDROutput::MsgReportStreamInfo::m_overrun
private

FIFO overrun count.

Definition at line 158 of file limesdroutput.h.

◆ m_success

bool LimeSDROutput::MsgReportStreamInfo::m_success
private

Definition at line 152 of file limesdroutput.h.

◆ m_timestamp

uint64_t LimeSDROutput::MsgReportStreamInfo::m_timestamp
private

Current HW timestamp.

Definition at line 161 of file limesdroutput.h.

◆ m_underrun

uint32_t LimeSDROutput::MsgReportStreamInfo::m_underrun
private

FIFO underrun count.

Definition at line 157 of file limesdroutput.h.


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