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

Public Member Functions

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

Private Member Functions

 MsgSavePreset (Preset *preset, int deviceSetIndex, bool newPreset)
 

Private Attributes

Presetm_preset
 
int m_deviceSetIndex
 
bool m_newPreset
 

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

Constructor & Destructor Documentation

◆ MsgSavePreset()

MainWindow::MsgSavePreset::MsgSavePreset ( Preset preset,
int  deviceSetIndex,
bool  newPreset 
)
inlineprivate

Definition at line 131 of file mainwindow.h.

131  :
132  Message(),
133  m_preset(preset),
134  m_deviceSetIndex(deviceSetIndex),
135  m_newPreset(newPreset)
136  { }
Message()
Definition: message.cpp:26

Member Function Documentation

◆ create()

static MsgSavePreset* MainWindow::MsgSavePreset::create ( Preset preset,
int  deviceSetIndex,
bool  newPreset 
)
inlinestatic

Definition at line 121 of file mainwindow.h.

Referenced by WebAPIAdapterGUI::instancePresetPost(), and WebAPIAdapterGUI::instancePresetPut().

122  {
123  return new MsgSavePreset(preset, deviceSetIndex, newPreset);
124  }
MsgSavePreset(Preset *preset, int deviceSetIndex, bool newPreset)
Definition: mainwindow.h:131
+ Here is the caller graph for this function:

◆ getDeviceSetIndex()

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

Definition at line 118 of file mainwindow.h.

Referenced by MainWindow::handleMessage().

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

◆ getPreset()

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

Definition at line 117 of file mainwindow.h.

Referenced by MainWindow::handleMessage().

117 { return m_preset; }
+ Here is the caller graph for this function:

◆ isNewPreset()

bool MainWindow::MsgSavePreset::isNewPreset ( ) const
inline

Definition at line 119 of file mainwindow.h.

Referenced by MainWindow::handleMessage().

119 { return m_newPreset; }
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_deviceSetIndex

int MainWindow::MsgSavePreset::m_deviceSetIndex
private

Definition at line 128 of file mainwindow.h.

◆ m_newPreset

bool MainWindow::MsgSavePreset::m_newPreset
private

Definition at line 129 of file mainwindow.h.

◆ m_preset

Preset* MainWindow::MsgSavePreset::m_preset
private

Definition at line 127 of file mainwindow.h.


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