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

#include <devicextrxshared.h>

+ Inheritance diagram for DeviceXTRXShared::MsgReportBuddyChange:
+ Collaboration diagram for DeviceXTRXShared::MsgReportBuddyChange:

Public Member Functions

int getDevSampleRate () const
 
unsigned 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, unsigned 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, unsigned log2HardDecimInterp, uint64_t centerFrequency, bool rxElseTx)
 

Private Attributes

int m_devSampleRate
 device/host sample rate More...
 
unsigned 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 35 of file devicextrxshared.h.

Constructor & Destructor Documentation

◆ MsgReportBuddyChange()

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

Definition at line 63 of file devicextrxshared.h.

Referenced by create().

67  :
68  Message(),
69  m_devSampleRate(devSampleRate),
70  m_log2HardDecimInterp(log2HardDecimInterp),
71  m_centerFrequency(centerFrequency),
72  m_rxElseTx(rxElseTx)
73  { }
int m_devSampleRate
device/host sample rate
bool m_rxElseTx
tells which side initiated the message
uint64_t m_centerFrequency
Center frequency.
Message()
Definition: message.cpp:26
unsigned m_log2HardDecimInterp
log2 of hardware decimation or interpolation
+ Here is the caller graph for this function:

Member Function Documentation

◆ create()

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

Definition at line 44 of file devicextrxshared.h.

References MsgReportBuddyChange().

Referenced by XTRXOutput::applySettings(), XTRXOutput::handleMessage(), and XTRXInput::handleMessage().

49  {
50  return new MsgReportBuddyChange(
51  devSampleRate,
52  log2HardDecimInterp,
53  centerFrequency,
54  rxElseTx);
55  }
MsgReportBuddyChange(int devSampleRate, unsigned log2HardDecimInterp, uint64_t centerFrequency, bool rxElseTx)
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getCenterFrequency()

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

Definition at line 41 of file devicextrxshared.h.

References m_centerFrequency.

Referenced by XTRXOutputGUI::handleMessage(), XTRXInputGUI::handleMessage(), XTRXOutput::handleMessage(), and XTRXInput::handleMessage().

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

◆ getDevSampleRate()

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

Definition at line 39 of file devicextrxshared.h.

References m_devSampleRate.

Referenced by XTRXOutputGUI::handleMessage(), XTRXInputGUI::handleMessage(), XTRXOutput::handleMessage(), and XTRXInput::handleMessage().

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

◆ getLog2HardDecimInterp()

unsigned DeviceXTRXShared::MsgReportBuddyChange::getLog2HardDecimInterp ( ) const
inline

Definition at line 40 of file devicextrxshared.h.

References m_log2HardDecimInterp.

Referenced by XTRXOutputGUI::handleMessage(), XTRXInputGUI::handleMessage(), XTRXOutput::handleMessage(), and XTRXInput::handleMessage().

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

◆ getRxElseTx()

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

Definition at line 42 of file devicextrxshared.h.

References m_rxElseTx.

Referenced by XTRXOutputGUI::handleMessage(), XTRXInputGUI::handleMessage(), XTRXOutput::handleMessage(), and XTRXInput::handleMessage().

42 { 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 DeviceXTRXShared::MsgReportBuddyChange::m_centerFrequency
private

Center frequency.

Definition at line 60 of file devicextrxshared.h.

Referenced by getCenterFrequency().

◆ m_devSampleRate

int DeviceXTRXShared::MsgReportBuddyChange::m_devSampleRate
private

device/host sample rate

Definition at line 58 of file devicextrxshared.h.

Referenced by getDevSampleRate().

◆ m_log2HardDecimInterp

unsigned DeviceXTRXShared::MsgReportBuddyChange::m_log2HardDecimInterp
private

log2 of hardware decimation or interpolation

Definition at line 59 of file devicextrxshared.h.

Referenced by getLog2HardDecimInterp().

◆ m_rxElseTx

bool DeviceXTRXShared::MsgReportBuddyChange::m_rxElseTx
private

tells which side initiated the message

Definition at line 61 of file devicextrxshared.h.

Referenced by getRxElseTx().


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