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
MainCore::MsgSavePreset Class Reference
+ Inheritance diagram for MainCore::MsgSavePreset:
+ Collaboration diagram for MainCore::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 98 of file maincore.h.

Constructor & Destructor Documentation

◆ MsgSavePreset()

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

Definition at line 116 of file maincore.h.

116  :
117  Message(),
118  m_preset(preset),
119  m_deviceSetIndex(deviceSetIndex),
120  m_newPreset(newPreset)
121  { }
Message()
Definition: message.cpp:26

Member Function Documentation

◆ create()

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

Definition at line 106 of file maincore.h.

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

107  {
108  return new MsgSavePreset(preset, deviceSetIndex, newPreset);
109  }
MsgSavePreset(Preset *preset, int deviceSetIndex, bool newPreset)
Definition: maincore.h:116
+ Here is the caller graph for this function:

◆ getDeviceSetIndex()

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

Definition at line 103 of file maincore.h.

Referenced by MainCore::handleMessage().

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

◆ getPreset()

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

Definition at line 102 of file maincore.h.

Referenced by MainCore::handleMessage().

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

◆ isNewPreset()

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

Definition at line 104 of file maincore.h.

104 { return m_newPreset; }

Member Data Documentation

◆ m_deviceSetIndex

int MainCore::MsgSavePreset::m_deviceSetIndex
private

Definition at line 113 of file maincore.h.

◆ m_newPreset

bool MainCore::MsgSavePreset::m_newPreset
private

Definition at line 114 of file maincore.h.

◆ m_preset

Preset* MainCore::MsgSavePreset::m_preset
private

Definition at line 112 of file maincore.h.


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