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
LimeSDRInput::MsgReportStreamInfo Class Reference

#include <limesdrinput.h>

+ Inheritance diagram for LimeSDRInput::MsgReportStreamInfo:
+ Collaboration diagram for LimeSDRInput::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 94 of file limesdrinput.h.

Constructor & Destructor Documentation

◆ MsgReportStreamInfo()

LimeSDRInput::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 145 of file limesdrinput.h.

155  :
156  Message(),
157  m_success(success),
158  m_active(active),
159  m_fifoFilledCount(fifoFilledCount),
160  m_fifoSize(fifoSize),
161  m_underrun(underrun),
162  m_overrun(overrun),
163  m_droppedPackets(droppedPackets),
164  m_linkRate(linkRate),
165  m_timestamp(timestamp)
166  { }
bool m_active
Indicates whether the stream is currently active.
Definition: limesdrinput.h:136
uint64_t m_timestamp
Current HW timestamp.
Definition: limesdrinput.h:143
uint32_t m_fifoFilledCount
Number of samples in FIFO buffer.
Definition: limesdrinput.h:137
Message()
Definition: message.cpp:26
float m_linkRate
Combined data rate of all stream of the same direction (TX or RX)
Definition: limesdrinput.h:142
uint32_t m_underrun
FIFO underrun count.
Definition: limesdrinput.h:139
uint32_t m_droppedPackets
Number of dropped packets by HW.
Definition: limesdrinput.h:141
uint32_t m_fifoSize
Size of FIFO buffer.
Definition: limesdrinput.h:138
uint32_t m_overrun
FIFO overrun count.
Definition: limesdrinput.h:140

Member Function Documentation

◆ create()

static MsgReportStreamInfo* LimeSDRInput::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 108 of file limesdrinput.h.

Referenced by LimeSDRInput::handleMessage().

119  {
120  return new MsgReportStreamInfo(
121  success,
122  active,
123  fifoFilledCount,
124  fifoSize,
125  underrun,
126  overrun,
127  droppedPackets,
128  linkRate,
129  timestamp
130  );
131  }
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)
Definition: limesdrinput.h:145
+ Here is the caller graph for this function:

◆ getActive()

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

Definition at line 99 of file limesdrinput.h.

Referenced by LimeSDRInputGUI::handleMessage().

99 { return m_active; }
bool m_active
Indicates whether the stream is currently active.
Definition: limesdrinput.h:136
+ Here is the caller graph for this function:

◆ getDroppedPackets()

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

Definition at line 104 of file limesdrinput.h.

Referenced by LimeSDRInputGUI::handleMessage().

104 { return m_droppedPackets; }
uint32_t m_droppedPackets
Number of dropped packets by HW.
Definition: limesdrinput.h:141
+ Here is the caller graph for this function:

◆ getFifoFilledCount()

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

Definition at line 100 of file limesdrinput.h.

Referenced by LimeSDRInputGUI::handleMessage().

100 { return m_fifoFilledCount; }
uint32_t m_fifoFilledCount
Number of samples in FIFO buffer.
Definition: limesdrinput.h:137
+ Here is the caller graph for this function:

◆ getFifoSize()

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

Definition at line 101 of file limesdrinput.h.

Referenced by LimeSDRInputGUI::handleMessage().

101 { return m_fifoSize; }
uint32_t m_fifoSize
Size of FIFO buffer.
Definition: limesdrinput.h:138
+ Here is the caller graph for this function:

◆ getLinkRate()

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

Definition at line 105 of file limesdrinput.h.

Referenced by LimeSDRInputGUI::handleMessage().

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

◆ getOverrun()

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

Definition at line 103 of file limesdrinput.h.

Referenced by LimeSDRInputGUI::handleMessage().

103 { return m_overrun; }
uint32_t m_overrun
FIFO overrun count.
Definition: limesdrinput.h:140
+ Here is the caller graph for this function:

◆ getSuccess()

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

Definition at line 98 of file limesdrinput.h.

Referenced by LimeSDRInputGUI::handleMessage().

+ Here is the caller graph for this function:

◆ getTimestamp()

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

Definition at line 106 of file limesdrinput.h.

106 { return m_timestamp; }
uint64_t m_timestamp
Current HW timestamp.
Definition: limesdrinput.h:143

◆ getUnderrun()

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

Definition at line 102 of file limesdrinput.h.

Referenced by LimeSDRInputGUI::handleMessage().

102 { return m_underrun; }
uint32_t m_underrun
FIFO underrun count.
Definition: limesdrinput.h:139
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_active

bool LimeSDRInput::MsgReportStreamInfo::m_active
private

Indicates whether the stream is currently active.

Definition at line 136 of file limesdrinput.h.

◆ m_droppedPackets

uint32_t LimeSDRInput::MsgReportStreamInfo::m_droppedPackets
private

Number of dropped packets by HW.

Definition at line 141 of file limesdrinput.h.

◆ m_fifoFilledCount

uint32_t LimeSDRInput::MsgReportStreamInfo::m_fifoFilledCount
private

Number of samples in FIFO buffer.

Definition at line 137 of file limesdrinput.h.

◆ m_fifoSize

uint32_t LimeSDRInput::MsgReportStreamInfo::m_fifoSize
private

Size of FIFO buffer.

Definition at line 138 of file limesdrinput.h.

◆ m_linkRate

float LimeSDRInput::MsgReportStreamInfo::m_linkRate
private

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

Definition at line 142 of file limesdrinput.h.

◆ m_overrun

uint32_t LimeSDRInput::MsgReportStreamInfo::m_overrun
private

FIFO overrun count.

Definition at line 140 of file limesdrinput.h.

◆ m_success

bool LimeSDRInput::MsgReportStreamInfo::m_success
private

Definition at line 134 of file limesdrinput.h.

◆ m_timestamp

uint64_t LimeSDRInput::MsgReportStreamInfo::m_timestamp
private

Current HW timestamp.

Definition at line 143 of file limesdrinput.h.

◆ m_underrun

uint32_t LimeSDRInput::MsgReportStreamInfo::m_underrun
private

FIFO underrun count.

Definition at line 139 of file limesdrinput.h.


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