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

#include <devicesoapysdrshared.h>

+ Inheritance diagram for DeviceSoapySDRShared::MsgReportBuddyChange:
+ Collaboration diagram for DeviceSoapySDRShared::MsgReportBuddyChange:

Public Member Functions

uint64_t getCenterFrequency () const
 
int getLOppmTenths () const
 
int getFcPos () const
 
int getDevSampleRate () 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 (uint64_t centerFrequency, int LOppmTenths, int fcPos, int devSampleRate, bool rxElseTx)
 
- Static Public Member Functions inherited from Message
static bool match (const Message *message)
 

Private Member Functions

 MsgReportBuddyChange (uint64_t centerFrequency, int LOppmTenths, int fcPos, int devSampleRate, bool rxElseTx)
 

Private Attributes

uint64_t m_centerFrequency
 Center frequency. More...
 
int m_LOppmTenths
 LO soft correction in tenths of ppm. More...
 
int m_fcPos
 Center frequency position. More...
 
int m_devSampleRate
 device/host sample rate 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 39 of file devicesoapysdrshared.h.

Constructor & Destructor Documentation

◆ MsgReportBuddyChange()

DeviceSoapySDRShared::MsgReportBuddyChange::MsgReportBuddyChange ( uint64_t  centerFrequency,
int  LOppmTenths,
int  fcPos,
int  devSampleRate,
bool  rxElseTx 
)
inlineprivate

Definition at line 71 of file devicesoapysdrshared.h.

76  :
77  Message(),
78  m_centerFrequency(centerFrequency),
79  m_LOppmTenths(LOppmTenths),
80  m_fcPos(fcPos),
81  m_devSampleRate(devSampleRate),
82  m_rxElseTx(rxElseTx)
83  { }
int m_LOppmTenths
LO soft correction in tenths of ppm.
Message()
Definition: message.cpp:26
bool m_rxElseTx
tells which side initiated the message

Member Function Documentation

◆ create()

static MsgReportBuddyChange* DeviceSoapySDRShared::MsgReportBuddyChange::create ( uint64_t  centerFrequency,
int  LOppmTenths,
int  fcPos,
int  devSampleRate,
bool  rxElseTx 
)
inlinestatic

Definition at line 49 of file devicesoapysdrshared.h.

Referenced by SoapySDROutput::applySettings(), and SoapySDRInput::applySettings().

55  {
56  return new MsgReportBuddyChange(
57  centerFrequency,
58  LOppmTenths,
59  fcPos,
60  devSampleRate,
61  rxElseTx);
62  }
MsgReportBuddyChange(uint64_t centerFrequency, int LOppmTenths, int fcPos, int devSampleRate, bool rxElseTx)
+ Here is the caller graph for this function:

◆ getCenterFrequency()

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

Definition at line 43 of file devicesoapysdrshared.h.

43 { return m_centerFrequency; }

◆ getDevSampleRate()

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

Definition at line 46 of file devicesoapysdrshared.h.

46 { return m_devSampleRate; }

◆ getFcPos()

int DeviceSoapySDRShared::MsgReportBuddyChange::getFcPos ( ) const
inline

Definition at line 45 of file devicesoapysdrshared.h.

Referenced by SoapySDRInput::handleMessage().

45 { return m_fcPos; }
+ Here is the caller graph for this function:

◆ getLOppmTenths()

int DeviceSoapySDRShared::MsgReportBuddyChange::getLOppmTenths ( ) const
inline

Definition at line 44 of file devicesoapysdrshared.h.

44 { return m_LOppmTenths; }
int m_LOppmTenths
LO soft correction in tenths of ppm.

◆ getRxElseTx()

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

Definition at line 47 of file devicesoapysdrshared.h.

47 { return m_rxElseTx; }
bool m_rxElseTx
tells which side initiated the message

Member Data Documentation

◆ m_centerFrequency

uint64_t DeviceSoapySDRShared::MsgReportBuddyChange::m_centerFrequency
private

Center frequency.

Definition at line 65 of file devicesoapysdrshared.h.

◆ m_devSampleRate

int DeviceSoapySDRShared::MsgReportBuddyChange::m_devSampleRate
private

device/host sample rate

Definition at line 68 of file devicesoapysdrshared.h.

◆ m_fcPos

int DeviceSoapySDRShared::MsgReportBuddyChange::m_fcPos
private

Center frequency position.

Definition at line 67 of file devicesoapysdrshared.h.

◆ m_LOppmTenths

int DeviceSoapySDRShared::MsgReportBuddyChange::m_LOppmTenths
private

LO soft correction in tenths of ppm.

Definition at line 66 of file devicesoapysdrshared.h.

◆ m_rxElseTx

bool DeviceSoapySDRShared::MsgReportBuddyChange::m_rxElseTx
private

tells which side initiated the message

Definition at line 69 of file devicesoapysdrshared.h.


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