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
DeviceLimeSDRShared::MsgReportBuddyChange Class Reference

#include <devicelimesdrshared.h>

+ Inheritance diagram for DeviceLimeSDRShared::MsgReportBuddyChange:
+ Collaboration diagram for DeviceLimeSDRShared::MsgReportBuddyChange:

Public Member Functions

int getDevSampleRate () const
 
int getLog2HardDecimInterp () const
 
uint64_t getCenterFrequency () const
 
bool getRxElseTx () 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 MsgReportBuddyChangecreate (int devSampleRate, int log2HardDecimInterp, uint64_t centerFrequency, bool rxElseTx)
 
- Static Public Member Functions inherited from Message
static bool match (const Message *message)
 

Private Member Functions

 MsgReportBuddyChange (int devSampleRate, int log2HardDecimInterp, uint64_t centerFrequency, bool rxElseTx)
 

Private Attributes

int m_devSampleRate
 device/host sample rate More...
 
int m_log2HardDecimInterp
 log2 of hardware decimation or interpolation More...
 
uint64_t m_centerFrequency
 Center frequency. More...
 
bool m_rxElseTx
 tells which side initiated the message More...
 

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 32 of file devicelimesdrshared.h.

Constructor & Destructor Documentation

◆ MsgReportBuddyChange()

DeviceLimeSDRShared::MsgReportBuddyChange::MsgReportBuddyChange ( int  devSampleRate,
int  log2HardDecimInterp,
uint64_t  centerFrequency,
bool  rxElseTx 
)
inlineprivate

Definition at line 60 of file devicelimesdrshared.h.

64  :
65  Message(),
66  m_devSampleRate(devSampleRate),
67  m_log2HardDecimInterp(log2HardDecimInterp),
68  m_centerFrequency(centerFrequency),
69  m_rxElseTx(rxElseTx)
70  { }
bool m_rxElseTx
tells which side initiated the message
uint64_t m_centerFrequency
Center frequency.
int m_devSampleRate
device/host sample rate
Message()
Definition: message.cpp:26
int m_log2HardDecimInterp
log2 of hardware decimation or interpolation

Member Function Documentation

◆ create()

static MsgReportBuddyChange* DeviceLimeSDRShared::MsgReportBuddyChange::create ( int  devSampleRate,
int  log2HardDecimInterp,
uint64_t  centerFrequency,
bool  rxElseTx 
)
inlinestatic

Definition at line 41 of file devicelimesdrshared.h.

Referenced by LimeSDROutput::applySettings(), LimeSDRInput::applySettings(), LimeSDROutput::handleMessage(), and LimeSDRInput::handleMessage().

46  {
47  return new MsgReportBuddyChange(
48  devSampleRate,
49  log2HardDecimInterp,
50  centerFrequency,
51  rxElseTx);
52  }
MsgReportBuddyChange(int devSampleRate, int log2HardDecimInterp, uint64_t centerFrequency, bool rxElseTx)
+ Here is the caller graph for this function:

◆ getCenterFrequency()

uint64_t DeviceLimeSDRShared::MsgReportBuddyChange::getCenterFrequency ( ) const
inline

Definition at line 38 of file devicelimesdrshared.h.

Referenced by LimeSDRInputGUI::handleMessage(), LimeSDROutputGUI::handleMessage(), LimeSDROutput::handleMessage(), and LimeSDRInput::handleMessage().

38 { return m_centerFrequency; }
uint64_t m_centerFrequency
Center frequency.
+ Here is the caller graph for this function:

◆ getDevSampleRate()

int DeviceLimeSDRShared::MsgReportBuddyChange::getDevSampleRate ( ) const
inline

Definition at line 36 of file devicelimesdrshared.h.

Referenced by LimeSDRInputGUI::handleMessage(), LimeSDROutputGUI::handleMessage(), LimeSDROutput::handleMessage(), and LimeSDRInput::handleMessage().

36 { return m_devSampleRate; }
int m_devSampleRate
device/host sample rate
+ Here is the caller graph for this function:

◆ getLog2HardDecimInterp()

int DeviceLimeSDRShared::MsgReportBuddyChange::getLog2HardDecimInterp ( ) const
inline

Definition at line 37 of file devicelimesdrshared.h.

Referenced by LimeSDRInputGUI::handleMessage(), LimeSDROutputGUI::handleMessage(), LimeSDROutput::handleMessage(), and LimeSDRInput::handleMessage().

37 { return m_log2HardDecimInterp; }
int m_log2HardDecimInterp
log2 of hardware decimation or interpolation
+ Here is the caller graph for this function:

◆ getRxElseTx()

bool DeviceLimeSDRShared::MsgReportBuddyChange::getRxElseTx ( ) const
inline

Definition at line 39 of file devicelimesdrshared.h.

Referenced by LimeSDRInputGUI::handleMessage(), LimeSDROutputGUI::handleMessage(), LimeSDROutput::handleMessage(), and LimeSDRInput::handleMessage().

39 { return m_rxElseTx; }
bool m_rxElseTx
tells which side initiated the message
+ Here is the caller graph for this function:

Member Data Documentation

◆ m_centerFrequency

uint64_t DeviceLimeSDRShared::MsgReportBuddyChange::m_centerFrequency
private

Center frequency.

Definition at line 57 of file devicelimesdrshared.h.

◆ m_devSampleRate

int DeviceLimeSDRShared::MsgReportBuddyChange::m_devSampleRate
private

device/host sample rate

Definition at line 55 of file devicelimesdrshared.h.

◆ m_log2HardDecimInterp

int DeviceLimeSDRShared::MsgReportBuddyChange::m_log2HardDecimInterp
private

log2 of hardware decimation or interpolation

Definition at line 56 of file devicelimesdrshared.h.

◆ m_rxElseTx

bool DeviceLimeSDRShared::MsgReportBuddyChange::m_rxElseTx
private

tells which side initiated the message

Definition at line 58 of file devicelimesdrshared.h.


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