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

#include <filesource.h>

+ Inheritance diagram for FileSource::MsgSampleRateNotification:
+ Collaboration diagram for FileSource::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 93 of file filesource.h.

Constructor & Destructor Documentation

◆ MsgSampleRateNotification()

FileSource::MsgSampleRateNotification::MsgSampleRateNotification ( int  sampleRate)
inlineprivate

Definition at line 105 of file filesource.h.

105  :
106  Message(),
107  m_sampleRate(sampleRate)
108  { }
Message()
Definition: message.cpp:26

Member Function Documentation

◆ create()

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

Definition at line 97 of file filesource.h.

Referenced by FileSource::handleMessage().

97  {
98  return new MsgSampleRateNotification(sampleRate);
99  }
+ Here is the caller graph for this function:

◆ getSampleRate()

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

Definition at line 101 of file filesource.h.

References FileSource::m_sampleRate.

Referenced by FileSourceGUI::handleMessage().

+ Here is the caller graph for this function:

Member Data Documentation

◆ m_sampleRate

int FileSource::MsgSampleRateNotification::m_sampleRate
private

Definition at line 110 of file filesource.h.


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