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
MainWindow::MsgLoadPreset Class Reference
+ Inheritance diagram for MainWindow::MsgLoadPreset:
+ Collaboration diagram for MainWindow::MsgLoadPreset:

Public Member Functions

const PresetgetPreset () const
 
int getDeviceSetIndex () 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 MsgLoadPresetcreate (const Preset *preset, int deviceSetIndex)
 
- Static Public Member Functions inherited from Message
static bool match (const Message *message)
 

Private Member Functions

 MsgLoadPreset (const Preset *preset, int deviceSetIndex)
 

Private Attributes

const Presetm_preset
 
int m_deviceSetIndex
 

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 90 of file mainwindow.h.

Constructor & Destructor Documentation

◆ MsgLoadPreset()

MainWindow::MsgLoadPreset::MsgLoadPreset ( const Preset preset,
int  deviceSetIndex 
)
inlineprivate

Definition at line 106 of file mainwindow.h.

106  :
107  Message(),
108  m_preset(preset),
109  m_deviceSetIndex(deviceSetIndex)
110  { }
const Preset * m_preset
Definition: mainwindow.h:103
Message()
Definition: message.cpp:26

Member Function Documentation

◆ create()

static MsgLoadPreset* MainWindow::MsgLoadPreset::create ( const Preset preset,
int  deviceSetIndex 
)
inlinestatic

Definition at line 97 of file mainwindow.h.

Referenced by WebAPIAdapterGUI::instancePresetPatch().

98  {
99  return new MsgLoadPreset(preset, deviceSetIndex);
100  }
MsgLoadPreset(const Preset *preset, int deviceSetIndex)
Definition: mainwindow.h:106
+ Here is the caller graph for this function:

◆ getDeviceSetIndex()

int MainWindow::MsgLoadPreset::getDeviceSetIndex ( ) const
inline

Definition at line 95 of file mainwindow.h.

Referenced by MainWindow::handleMessage().

95 { return m_deviceSetIndex; }
+ Here is the caller graph for this function:

◆ getPreset()

const Preset* MainWindow::MsgLoadPreset::getPreset ( ) const
inline

Definition at line 94 of file mainwindow.h.

Referenced by MainWindow::handleMessage().

94 { return m_preset; }
const Preset * m_preset
Definition: mainwindow.h:103
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_deviceSetIndex

int MainWindow::MsgLoadPreset::m_deviceSetIndex
private

Definition at line 104 of file mainwindow.h.

◆ m_preset

const Preset* MainWindow::MsgLoadPreset::m_preset
private

Definition at line 103 of file mainwindow.h.


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