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

#include <devicebladerf2shared.h>

+ Inheritance diagram for DeviceBladeRF2Shared::MsgReportBuddyChange:
+ Collaboration diagram for DeviceBladeRF2Shared::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 35 of file devicebladerf2shared.h.

Constructor & Destructor Documentation

◆ MsgReportBuddyChange()

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

Definition at line 67 of file devicebladerf2shared.h.

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

Member Function Documentation

◆ create()

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

Definition at line 45 of file devicebladerf2shared.h.

Referenced by BladeRF2Output::applySettings(), and BladeRF2Input::applySettings().

51  {
52  return new MsgReportBuddyChange(
53  centerFrequency,
54  LOppmTenths,
55  fcPos,
56  devSampleRate,
57  rxElseTx);
58  }
MsgReportBuddyChange(uint64_t centerFrequency, int LOppmTenths, int fcPos, int devSampleRate, bool rxElseTx)
+ Here is the caller graph for this function:

◆ getCenterFrequency()

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

Definition at line 39 of file devicebladerf2shared.h.

Referenced by BladeRF2Output::handleMessage(), and BladeRF2Input::handleMessage().

39 { return m_centerFrequency; }
+ Here is the caller graph for this function:

◆ getDevSampleRate()

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

Definition at line 42 of file devicebladerf2shared.h.

Referenced by BladeRF2Output::handleMessage(), and BladeRF2Input::handleMessage().

42 { return m_devSampleRate; }
+ Here is the caller graph for this function:

◆ getFcPos()

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

Definition at line 41 of file devicebladerf2shared.h.

Referenced by BladeRF2Input::handleMessage().

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

◆ getLOppmTenths()

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

Definition at line 40 of file devicebladerf2shared.h.

Referenced by BladeRF2Output::handleMessage(), and BladeRF2Input::handleMessage().

40 { return m_LOppmTenths; }
int m_LOppmTenths
LO soft correction in tenths of ppm.
+ Here is the caller graph for this function:

◆ getRxElseTx()

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

Definition at line 43 of file devicebladerf2shared.h.

Referenced by BladeRF2Output::handleMessage(), and BladeRF2Input::handleMessage().

43 { 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 DeviceBladeRF2Shared::MsgReportBuddyChange::m_centerFrequency
private

Center frequency.

Definition at line 61 of file devicebladerf2shared.h.

◆ m_devSampleRate

int DeviceBladeRF2Shared::MsgReportBuddyChange::m_devSampleRate
private

device/host sample rate

Definition at line 64 of file devicebladerf2shared.h.

◆ m_fcPos

int DeviceBladeRF2Shared::MsgReportBuddyChange::m_fcPos
private

Center frequency position.

Definition at line 63 of file devicebladerf2shared.h.

◆ m_LOppmTenths

int DeviceBladeRF2Shared::MsgReportBuddyChange::m_LOppmTenths
private

LO soft correction in tenths of ppm.

Definition at line 62 of file devicebladerf2shared.h.

◆ m_rxElseTx

bool DeviceBladeRF2Shared::MsgReportBuddyChange::m_rxElseTx
private

tells which side initiated the message

Definition at line 65 of file devicebladerf2shared.h.


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