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
UDPSourceMessages::MsgSampleRateCorrection Class Reference

#include <udpsourcemsg.h>

+ Inheritance diagram for UDPSourceMessages::MsgSampleRateCorrection:
+ Collaboration diagram for UDPSourceMessages::MsgSampleRateCorrection:

Public Member Functions

float getCorrectionFactor () const
 
float getRawDeltaRatio () 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 MsgSampleRateCorrectioncreate (float correctionFactor, float rawDeltaRatio)
 
- Static Public Member Functions inherited from Message
static bool match (const Message *message)
 

Private Member Functions

 MsgSampleRateCorrection (float correctionFactor, float rawDeltaRatio)
 

Private Attributes

float m_correctionFactor
 
float m_rawDeltaRatio
 

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 29 of file udpsourcemsg.h.

Constructor & Destructor Documentation

◆ MsgSampleRateCorrection()

UDPSourceMessages::MsgSampleRateCorrection::MsgSampleRateCorrection ( float  correctionFactor,
float  rawDeltaRatio 
)
inlineprivate

Definition at line 45 of file udpsourcemsg.h.

Referenced by create().

45  :
46  Message(),
47  m_correctionFactor(correctionFactor),
48  m_rawDeltaRatio(rawDeltaRatio)
49  { }
Message()
Definition: message.cpp:26
+ Here is the caller graph for this function:

Member Function Documentation

◆ create()

static MsgSampleRateCorrection* UDPSourceMessages::MsgSampleRateCorrection::create ( float  correctionFactor,
float  rawDeltaRatio 
)
inlinestatic

Definition at line 36 of file udpsourcemsg.h.

References MsgSampleRateCorrection().

Referenced by UDPSourceUDPHandler::advanceReadPointer().

37  {
38  return new MsgSampleRateCorrection(correctionFactor, rawDeltaRatio);
39  }
MsgSampleRateCorrection(float correctionFactor, float rawDeltaRatio)
Definition: udpsourcemsg.h:45
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCorrectionFactor()

float UDPSourceMessages::MsgSampleRateCorrection::getCorrectionFactor ( ) const
inline

Definition at line 33 of file udpsourcemsg.h.

References m_correctionFactor.

Referenced by UDPSource::handleMessage().

+ Here is the caller graph for this function:

◆ getRawDeltaRatio()

float UDPSourceMessages::MsgSampleRateCorrection::getRawDeltaRatio ( ) const
inline

Definition at line 34 of file udpsourcemsg.h.

References m_rawDeltaRatio.

Referenced by UDPSource::handleMessage().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_correctionFactor

float UDPSourceMessages::MsgSampleRateCorrection::m_correctionFactor
private

Definition at line 42 of file udpsourcemsg.h.

Referenced by getCorrectionFactor().

◆ m_rawDeltaRatio

float UDPSourceMessages::MsgSampleRateCorrection::m_rawDeltaRatio
private

Definition at line 43 of file udpsourcemsg.h.

Referenced by getRawDeltaRatio().


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