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

#include <xtrxoutput.h>

+ Inheritance diagram for XTRXOutput::MsgReportStreamInfo:
+ Collaboration diagram for XTRXOutput::MsgReportStreamInfo:

Public Member Functions

bool getSuccess () const
 
bool getActive () const
 
uint32_t getFifoFilledCount () const
 
uint32_t getFifoSize () 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)
 
- 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)
 

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...
 

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 109 of file xtrxoutput.h.

Constructor & Destructor Documentation

◆ MsgReportStreamInfo()

XTRXOutput::MsgReportStreamInfo::MsgReportStreamInfo ( bool  success,
bool  active,
uint32_t  fifoFilledCount,
uint32_t  fifoSize 
)
inlineprivate

Definition at line 140 of file xtrxoutput.h.

145  :
146  Message(),
147  m_success(success),
148  m_active(active),
149  m_fifoFilledCount(fifoFilledCount),
150  m_fifoSize(fifoSize)
151  { }
uint32_t m_fifoSize
Size of FIFO buffer.
Definition: xtrxoutput.h:138
bool m_active
Indicates whether the stream is currently active.
Definition: xtrxoutput.h:136
uint32_t m_fifoFilledCount
Number of samples in FIFO buffer.
Definition: xtrxoutput.h:137
Message()
Definition: message.cpp:26

Member Function Documentation

◆ create()

static MsgReportStreamInfo* XTRXOutput::MsgReportStreamInfo::create ( bool  success,
bool  active,
uint32_t  fifoFilledCount,
uint32_t  fifoSize 
)
inlinestatic

Definition at line 118 of file xtrxoutput.h.

Referenced by XTRXOutput::handleMessage().

124  {
125  return new MsgReportStreamInfo(
126  success,
127  active,
128  fifoFilledCount,
129  fifoSize
130  );
131  }
MsgReportStreamInfo(bool success, bool active, uint32_t fifoFilledCount, uint32_t fifoSize)
Definition: xtrxoutput.h:140
+ Here is the caller graph for this function:

◆ getActive()

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

Definition at line 114 of file xtrxoutput.h.

Referenced by XTRXOutputGUI::handleMessage().

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

◆ getFifoFilledCount()

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

Definition at line 115 of file xtrxoutput.h.

Referenced by XTRXOutputGUI::handleMessage().

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

◆ getFifoSize()

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

Definition at line 116 of file xtrxoutput.h.

Referenced by XTRXOutputGUI::handleMessage().

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

◆ getSuccess()

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

Definition at line 113 of file xtrxoutput.h.

Referenced by XTRXOutputGUI::handleMessage().

113 { return m_success; }
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_active

bool XTRXOutput::MsgReportStreamInfo::m_active
private

Indicates whether the stream is currently active.

Definition at line 136 of file xtrxoutput.h.

◆ m_fifoFilledCount

uint32_t XTRXOutput::MsgReportStreamInfo::m_fifoFilledCount
private

Number of samples in FIFO buffer.

Definition at line 137 of file xtrxoutput.h.

◆ m_fifoSize

uint32_t XTRXOutput::MsgReportStreamInfo::m_fifoSize
private

Size of FIFO buffer.

Definition at line 138 of file xtrxoutput.h.

◆ m_success

bool XTRXOutput::MsgReportStreamInfo::m_success
private

Definition at line 134 of file xtrxoutput.h.


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