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
LocalSource::MsgSampleRateNotification Class Reference

#include <localsource.h>

+ Inheritance diagram for LocalSource::MsgSampleRateNotification:
+ Collaboration diagram for LocalSource::MsgSampleRateNotification:

Public Member Functions

int getSampleRate () 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 MsgSampleRateNotificationcreate (int sampleRate)
 
- Static Public Member Functions inherited from Message
static bool match (const Message *message)
 

Private Member Functions

 MsgSampleRateNotification (int sampleRate)
 

Private Attributes

int m_sampleRate
 

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 64 of file localsource.h.

Constructor & Destructor Documentation

◆ MsgSampleRateNotification()

LocalSource::MsgSampleRateNotification::MsgSampleRateNotification ( int  sampleRate)
inlineprivate

Definition at line 76 of file localsource.h.

76  :
77  Message(),
78  m_sampleRate(sampleRate)
79  { }
Message()
Definition: message.cpp:26

Member Function Documentation

◆ create()

static MsgSampleRateNotification* LocalSource::MsgSampleRateNotification::create ( int  sampleRate)
inlinestatic

Definition at line 68 of file localsource.h.

Referenced by LocalSource::handleMessage().

68  {
69  return new MsgSampleRateNotification(sampleRate);
70  }
+ Here is the caller graph for this function:

◆ getSampleRate()

int LocalSource::MsgSampleRateNotification::getSampleRate ( ) const
inline

Definition at line 72 of file localsource.h.

References LocalSource::m_sampleRate.

Referenced by LocalSourceGUI::handleMessage().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_sampleRate

int LocalSource::MsgSampleRateNotification::m_sampleRate
private

Definition at line 81 of file localsource.h.


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