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

Constructor & Destructor Documentation

◆ MsgLoadPreset()

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

Definition at line 91 of file maincore.h.

91  :
92  Message(),
93  m_preset(preset),
94  m_deviceSetIndex(deviceSetIndex)
95  { }
Message()
Definition: message.cpp:26
const Preset * m_preset
Definition: maincore.h:88

Member Function Documentation

◆ create()

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

Definition at line 82 of file maincore.h.

Referenced by WebAPIAdapterSrv::instancePresetPatch().

83  {
84  return new MsgLoadPreset(preset, deviceSetIndex);
85  }
MsgLoadPreset(const Preset *preset, int deviceSetIndex)
Definition: maincore.h:91
+ Here is the caller graph for this function:

◆ getDeviceSetIndex()

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

Definition at line 80 of file maincore.h.

Referenced by MainCore::handleMessage().

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

◆ getPreset()

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

Definition at line 79 of file maincore.h.

Referenced by MainCore::handleMessage().

79 { return m_preset; }
const Preset * m_preset
Definition: maincore.h:88
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_deviceSetIndex

int MainCore::MsgLoadPreset::m_deviceSetIndex
private

Definition at line 89 of file maincore.h.

◆ m_preset

const Preset* MainCore::MsgLoadPreset::m_preset
private

Definition at line 88 of file maincore.h.


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