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 | Private Attributes | List of all members
SWGSDRangel::SWGRDSReport Class Reference

#include <SWGRDSReport.h>

+ Inheritance diagram for SWGSDRangel::SWGRDSReport:
+ Collaboration diagram for SWGSDRangel::SWGRDSReport:

Public Member Functions

 SWGRDSReport ()
 
 SWGRDSReport (QString *json)
 
virtual ~SWGRDSReport ()
 
void init ()
 
void cleanup ()
 
virtual QString asJson () override
 
virtual QJsonObject * asJsonObject () override
 
virtual void fromJsonObject (QJsonObject &json) override
 
virtual SWGRDSReportfromJson (QString &jsonString) override
 
qint32 getDemodStatus ()
 
void setDemodStatus (qint32 demod_status)
 
qint32 getDecodStatus ()
 
void setDecodStatus (qint32 decod_status)
 
float getRdsDemodAccumDb ()
 
void setRdsDemodAccumDb (float rds_demod_accum_db)
 
float getRdsDemodFrequency ()
 
void setRdsDemodFrequency (float rds_demod_frequency)
 
QString * getPid ()
 
void setPid (QString *pid)
 
QString * getPiType ()
 
void setPiType (QString *pi_type)
 
QString * getPiCoverage ()
 
void setPiCoverage (QString *pi_coverage)
 
QString * getProgServiceName ()
 
void setProgServiceName (QString *prog_service_name)
 
QString * getMusicSpeech ()
 
void setMusicSpeech (QString *music_speech)
 
QString * getMonoStereo ()
 
void setMonoStereo (QString *mono_stereo)
 
QString * getRadioText ()
 
void setRadioText (QString *radio_text)
 
QString * getTime ()
 
void setTime (QString *time)
 
QList< SWGRDSReport_altFrequencies * > * getAltFrequencies ()
 
void setAltFrequencies (QList< SWGRDSReport_altFrequencies *> *alt_frequencies)
 
virtual bool isSet () override
 
- Public Member Functions inherited from SWGSDRangel::SWGObject
virtual ~SWGObject ()
 

Private Attributes

qint32 demod_status
 
bool m_demod_status_isSet
 
qint32 decod_status
 
bool m_decod_status_isSet
 
float rds_demod_accum_db
 
bool m_rds_demod_accum_db_isSet
 
float rds_demod_frequency
 
bool m_rds_demod_frequency_isSet
 
QString * pid
 
bool m_pid_isSet
 
QString * pi_type
 
bool m_pi_type_isSet
 
QString * pi_coverage
 
bool m_pi_coverage_isSet
 
QString * prog_service_name
 
bool m_prog_service_name_isSet
 
QString * music_speech
 
bool m_music_speech_isSet
 
QString * mono_stereo
 
bool m_mono_stereo_isSet
 
QString * radio_text
 
bool m_radio_text_isSet
 
QString * time
 
bool m_time_isSet
 
QList< SWGRDSReport_altFrequencies * > * alt_frequencies
 
bool m_alt_frequencies_isSet
 

Detailed Description

Definition at line 34 of file SWGRDSReport.h.

Constructor & Destructor Documentation

◆ SWGRDSReport() [1/2]

SWGSDRangel::SWGRDSReport::SWGRDSReport ( )

Definition at line 30 of file SWGRDSReport.cpp.

References alt_frequencies, decod_status, demod_status, m_alt_frequencies_isSet, m_decod_status_isSet, m_demod_status_isSet, m_mono_stereo_isSet, m_music_speech_isSet, m_pi_coverage_isSet, m_pi_type_isSet, m_pid_isSet, m_prog_service_name_isSet, m_radio_text_isSet, m_rds_demod_accum_db_isSet, m_rds_demod_frequency_isSet, m_time_isSet, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, rds_demod_accum_db, rds_demod_frequency, and time.

30  {
31  demod_status = 0;
32  m_demod_status_isSet = false;
33  decod_status = 0;
34  m_decod_status_isSet = false;
35  rds_demod_accum_db = 0.0f;
37  rds_demod_frequency = 0.0f;
39  pid = nullptr;
40  m_pid_isSet = false;
41  pi_type = nullptr;
42  m_pi_type_isSet = false;
43  pi_coverage = nullptr;
44  m_pi_coverage_isSet = false;
45  prog_service_name = nullptr;
47  music_speech = nullptr;
48  m_music_speech_isSet = false;
49  mono_stereo = nullptr;
50  m_mono_stereo_isSet = false;
51  radio_text = nullptr;
52  m_radio_text_isSet = false;
53  time = nullptr;
54  m_time_isSet = false;
55  alt_frequencies = nullptr;
57 }
QList< SWGRDSReport_altFrequencies * > * alt_frequencies
Definition: SWGRDSReport.h:126

◆ SWGRDSReport() [2/2]

SWGSDRangel::SWGRDSReport::SWGRDSReport ( QString *  json)

Definition at line 25 of file SWGRDSReport.cpp.

References fromJson(), and init().

25  {
26  init();
27  this->fromJson(*json);
28 }
virtual SWGRDSReport * fromJson(QString &jsonString) override
+ Here is the call graph for this function:

◆ ~SWGRDSReport()

SWGSDRangel::SWGRDSReport::~SWGRDSReport ( )
virtual

Definition at line 59 of file SWGRDSReport.cpp.

References cleanup().

59  {
60  this->cleanup();
61 }
+ Here is the call graph for this function:

Member Function Documentation

◆ asJson()

QString SWGSDRangel::SWGRDSReport::asJson ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 172 of file SWGRDSReport.cpp.

References asJsonObject().

173 {
174  QJsonObject* obj = this->asJsonObject();
175 
176  QJsonDocument doc(*obj);
177  QByteArray bytes = doc.toJson();
178  delete obj;
179  return QString(bytes);
180 }
virtual QJsonObject * asJsonObject() override
+ Here is the call graph for this function:

◆ asJsonObject()

QJsonObject * SWGSDRangel::SWGRDSReport::asJsonObject ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 183 of file SWGRDSReport.cpp.

References alt_frequencies, decod_status, demod_status, m_decod_status_isSet, m_demod_status_isSet, m_rds_demod_accum_db_isSet, m_rds_demod_frequency_isSet, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, rds_demod_accum_db, rds_demod_frequency, time, SWGSDRangel::toJsonArray(), and SWGSDRangel::toJsonValue().

Referenced by asJson().

183  {
184  QJsonObject* obj = new QJsonObject();
186  obj->insert("demodStatus", QJsonValue(demod_status));
187  }
189  obj->insert("decodStatus", QJsonValue(decod_status));
190  }
192  obj->insert("rdsDemodAccumDB", QJsonValue(rds_demod_accum_db));
193  }
195  obj->insert("rdsDemodFrequency", QJsonValue(rds_demod_frequency));
196  }
197  if(pid != nullptr && *pid != QString("")){
198  toJsonValue(QString("pid"), pid, obj, QString("QString"));
199  }
200  if(pi_type != nullptr && *pi_type != QString("")){
201  toJsonValue(QString("piType"), pi_type, obj, QString("QString"));
202  }
203  if(pi_coverage != nullptr && *pi_coverage != QString("")){
204  toJsonValue(QString("piCoverage"), pi_coverage, obj, QString("QString"));
205  }
206  if(prog_service_name != nullptr && *prog_service_name != QString("")){
207  toJsonValue(QString("progServiceName"), prog_service_name, obj, QString("QString"));
208  }
209  if(music_speech != nullptr && *music_speech != QString("")){
210  toJsonValue(QString("musicSpeech"), music_speech, obj, QString("QString"));
211  }
212  if(mono_stereo != nullptr && *mono_stereo != QString("")){
213  toJsonValue(QString("monoStereo"), mono_stereo, obj, QString("QString"));
214  }
215  if(radio_text != nullptr && *radio_text != QString("")){
216  toJsonValue(QString("radioText"), radio_text, obj, QString("QString"));
217  }
218  if(time != nullptr && *time != QString("")){
219  toJsonValue(QString("time"), time, obj, QString("QString"));
220  }
221  if(alt_frequencies->size() > 0){
222  toJsonArray((QList<void*>*)alt_frequencies, obj, "altFrequencies", "SWGRDSReport_altFrequencies");
223  }
224 
225  return obj;
226 }
void toJsonValue(QString name, void *value, QJsonObject *output, QString type)
Definition: SWGHelpers.cpp:383
void toJsonArray(QList< void *> *value, QJsonObject *output, QString innerName, QString innerType)
Definition: SWGHelpers.cpp:445
QList< SWGRDSReport_altFrequencies * > * alt_frequencies
Definition: SWGRDSReport.h:126
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ cleanup()

void SWGSDRangel::SWGRDSReport::cleanup ( )

Definition at line 94 of file SWGRDSReport.cpp.

References alt_frequencies, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, and time.

Referenced by ~SWGRDSReport().

94  {
95 
96 
97 
98 
99  if(pid != nullptr) {
100  delete pid;
101  }
102  if(pi_type != nullptr) {
103  delete pi_type;
104  }
105  if(pi_coverage != nullptr) {
106  delete pi_coverage;
107  }
108  if(prog_service_name != nullptr) {
109  delete prog_service_name;
110  }
111  if(music_speech != nullptr) {
112  delete music_speech;
113  }
114  if(mono_stereo != nullptr) {
115  delete mono_stereo;
116  }
117  if(radio_text != nullptr) {
118  delete radio_text;
119  }
120  if(time != nullptr) {
121  delete time;
122  }
123  if(alt_frequencies != nullptr) {
124  auto arr = alt_frequencies;
125  for(auto o: *arr) {
126  delete o;
127  }
128  delete alt_frequencies;
129  }
130 }
QList< SWGRDSReport_altFrequencies * > * alt_frequencies
Definition: SWGRDSReport.h:126
+ Here is the caller graph for this function:

◆ fromJson()

SWGRDSReport * SWGSDRangel::SWGRDSReport::fromJson ( QString &  jsonString)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 133 of file SWGRDSReport.cpp.

References fromJsonObject().

Referenced by SWGRDSReport().

133  {
134  QByteArray array (json.toStdString().c_str());
135  QJsonDocument doc = QJsonDocument::fromJson(array);
136  QJsonObject jsonObject = doc.object();
137  this->fromJsonObject(jsonObject);
138  return this;
139 }
virtual void fromJsonObject(QJsonObject &json) override
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ fromJsonObject()

void SWGSDRangel::SWGRDSReport::fromJsonObject ( QJsonObject &  json)
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 142 of file SWGRDSReport.cpp.

References alt_frequencies, decod_status, demod_status, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, rds_demod_accum_db, rds_demod_frequency, SWGSDRangel::setValue(), and time.

Referenced by fromJson().

142  {
143  ::SWGSDRangel::setValue(&demod_status, pJson["demodStatus"], "qint32", "");
144 
145  ::SWGSDRangel::setValue(&decod_status, pJson["decodStatus"], "qint32", "");
146 
147  ::SWGSDRangel::setValue(&rds_demod_accum_db, pJson["rdsDemodAccumDB"], "float", "");
148 
149  ::SWGSDRangel::setValue(&rds_demod_frequency, pJson["rdsDemodFrequency"], "float", "");
150 
151  ::SWGSDRangel::setValue(&pid, pJson["pid"], "QString", "QString");
152 
153  ::SWGSDRangel::setValue(&pi_type, pJson["piType"], "QString", "QString");
154 
155  ::SWGSDRangel::setValue(&pi_coverage, pJson["piCoverage"], "QString", "QString");
156 
157  ::SWGSDRangel::setValue(&prog_service_name, pJson["progServiceName"], "QString", "QString");
158 
159  ::SWGSDRangel::setValue(&music_speech, pJson["musicSpeech"], "QString", "QString");
160 
161  ::SWGSDRangel::setValue(&mono_stereo, pJson["monoStereo"], "QString", "QString");
162 
163  ::SWGSDRangel::setValue(&radio_text, pJson["radioText"], "QString", "QString");
164 
165  ::SWGSDRangel::setValue(&time, pJson["time"], "QString", "QString");
166 
167 
168  ::SWGSDRangel::setValue(&alt_frequencies, pJson["altFrequencies"], "QList", "SWGRDSReport_altFrequencies");
169 }
void setValue(void *value, QJsonValue obj, QString type, QString complexType)
Definition: SWGHelpers.cpp:25
QList< SWGRDSReport_altFrequencies * > * alt_frequencies
Definition: SWGRDSReport.h:126
+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ getAltFrequencies()

QList< SWGRDSReport_altFrequencies * > * SWGSDRangel::SWGRDSReport::getAltFrequencies ( )

Definition at line 349 of file SWGRDSReport.cpp.

References alt_frequencies.

Referenced by BFMDemod::webapiFormatRDSReport().

349  {
350  return alt_frequencies;
351 }
QList< SWGRDSReport_altFrequencies * > * alt_frequencies
Definition: SWGRDSReport.h:126
+ Here is the caller graph for this function:

◆ getDecodStatus()

qint32 SWGSDRangel::SWGRDSReport::getDecodStatus ( )

Definition at line 239 of file SWGRDSReport.cpp.

References decod_status.

239  {
240  return decod_status;
241 }

◆ getDemodStatus()

qint32 SWGSDRangel::SWGRDSReport::getDemodStatus ( )

Definition at line 229 of file SWGRDSReport.cpp.

References demod_status.

229  {
230  return demod_status;
231 }

◆ getMonoStereo()

QString * SWGSDRangel::SWGRDSReport::getMonoStereo ( )

Definition at line 319 of file SWGRDSReport.cpp.

References mono_stereo.

319  {
320  return mono_stereo;
321 }

◆ getMusicSpeech()

QString * SWGSDRangel::SWGRDSReport::getMusicSpeech ( )

Definition at line 309 of file SWGRDSReport.cpp.

References music_speech.

309  {
310  return music_speech;
311 }

◆ getPiCoverage()

QString * SWGSDRangel::SWGRDSReport::getPiCoverage ( )

Definition at line 289 of file SWGRDSReport.cpp.

References pi_coverage.

289  {
290  return pi_coverage;
291 }

◆ getPid()

QString * SWGSDRangel::SWGRDSReport::getPid ( )

Definition at line 269 of file SWGRDSReport.cpp.

References pid.

269  {
270  return pid;
271 }

◆ getPiType()

QString * SWGSDRangel::SWGRDSReport::getPiType ( )

Definition at line 279 of file SWGRDSReport.cpp.

References pi_type.

279  {
280  return pi_type;
281 }

◆ getProgServiceName()

QString * SWGSDRangel::SWGRDSReport::getProgServiceName ( )

Definition at line 299 of file SWGRDSReport.cpp.

References prog_service_name.

299  {
300  return prog_service_name;
301 }

◆ getRadioText()

QString * SWGSDRangel::SWGRDSReport::getRadioText ( )

Definition at line 329 of file SWGRDSReport.cpp.

References radio_text.

329  {
330  return radio_text;
331 }

◆ getRdsDemodAccumDb()

float SWGSDRangel::SWGRDSReport::getRdsDemodAccumDb ( )

Definition at line 249 of file SWGRDSReport.cpp.

References rds_demod_accum_db.

249  {
250  return rds_demod_accum_db;
251 }

◆ getRdsDemodFrequency()

float SWGSDRangel::SWGRDSReport::getRdsDemodFrequency ( )

Definition at line 259 of file SWGRDSReport.cpp.

References rds_demod_frequency.

259  {
260  return rds_demod_frequency;
261 }

◆ getTime()

QString * SWGSDRangel::SWGRDSReport::getTime ( )

Definition at line 339 of file SWGRDSReport.cpp.

References time.

339  {
340  return time;
341 }

◆ init()

void SWGSDRangel::SWGRDSReport::init ( )

Definition at line 64 of file SWGRDSReport.cpp.

References alt_frequencies, decod_status, demod_status, m_alt_frequencies_isSet, m_decod_status_isSet, m_demod_status_isSet, m_mono_stereo_isSet, m_music_speech_isSet, m_pi_coverage_isSet, m_pi_type_isSet, m_pid_isSet, m_prog_service_name_isSet, m_radio_text_isSet, m_rds_demod_accum_db_isSet, m_rds_demod_frequency_isSet, m_time_isSet, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, rds_demod_accum_db, rds_demod_frequency, and time.

Referenced by SWGRDSReport().

64  {
65  demod_status = 0;
66  m_demod_status_isSet = false;
67  decod_status = 0;
68  m_decod_status_isSet = false;
69  rds_demod_accum_db = 0.0f;
71  rds_demod_frequency = 0.0f;
73  pid = new QString("");
74  m_pid_isSet = false;
75  pi_type = new QString("");
76  m_pi_type_isSet = false;
77  pi_coverage = new QString("");
78  m_pi_coverage_isSet = false;
79  prog_service_name = new QString("");
81  music_speech = new QString("");
82  m_music_speech_isSet = false;
83  mono_stereo = new QString("");
84  m_mono_stereo_isSet = false;
85  radio_text = new QString("");
86  m_radio_text_isSet = false;
87  time = new QString("");
88  m_time_isSet = false;
89  alt_frequencies = new QList<SWGRDSReport_altFrequencies*>();
91 }
QList< SWGRDSReport_altFrequencies * > * alt_frequencies
Definition: SWGRDSReport.h:126
+ Here is the caller graph for this function:

◆ isSet()

bool SWGSDRangel::SWGRDSReport::isSet ( )
overridevirtual

Reimplemented from SWGSDRangel::SWGObject.

Definition at line 360 of file SWGRDSReport.cpp.

References alt_frequencies, m_decod_status_isSet, m_demod_status_isSet, m_rds_demod_accum_db_isSet, m_rds_demod_frequency_isSet, mono_stereo, music_speech, pi_coverage, pi_type, pid, prog_service_name, radio_text, and time.

Referenced by SWGSDRangel::SWGBFMDemodReport::asJsonObject(), and SWGSDRangel::SWGBFMDemodReport::isSet().

360  {
361  bool isObjectUpdated = false;
362  do{
363  if(m_demod_status_isSet){ isObjectUpdated = true; break;}
364  if(m_decod_status_isSet){ isObjectUpdated = true; break;}
365  if(m_rds_demod_accum_db_isSet){ isObjectUpdated = true; break;}
366  if(m_rds_demod_frequency_isSet){ isObjectUpdated = true; break;}
367  if(pid != nullptr && *pid != QString("")){ isObjectUpdated = true; break;}
368  if(pi_type != nullptr && *pi_type != QString("")){ isObjectUpdated = true; break;}
369  if(pi_coverage != nullptr && *pi_coverage != QString("")){ isObjectUpdated = true; break;}
370  if(prog_service_name != nullptr && *prog_service_name != QString("")){ isObjectUpdated = true; break;}
371  if(music_speech != nullptr && *music_speech != QString("")){ isObjectUpdated = true; break;}
372  if(mono_stereo != nullptr && *mono_stereo != QString("")){ isObjectUpdated = true; break;}
373  if(radio_text != nullptr && *radio_text != QString("")){ isObjectUpdated = true; break;}
374  if(time != nullptr && *time != QString("")){ isObjectUpdated = true; break;}
375  if(alt_frequencies->size() > 0){ isObjectUpdated = true; break;}
376  }while(false);
377  return isObjectUpdated;
378 }
QList< SWGRDSReport_altFrequencies * > * alt_frequencies
Definition: SWGRDSReport.h:126
+ Here is the caller graph for this function:

◆ setAltFrequencies()

void SWGSDRangel::SWGRDSReport::setAltFrequencies ( QList< SWGRDSReport_altFrequencies *> *  alt_frequencies)

Definition at line 353 of file SWGRDSReport.cpp.

References alt_frequencies, and m_alt_frequencies_isSet.

Referenced by BFMDemod::webapiFormatRDSReport().

353  {
355  this->m_alt_frequencies_isSet = true;
356 }
QList< SWGRDSReport_altFrequencies * > * alt_frequencies
Definition: SWGRDSReport.h:126
+ Here is the caller graph for this function:

◆ setDecodStatus()

void SWGSDRangel::SWGRDSReport::setDecodStatus ( qint32  decod_status)

Definition at line 243 of file SWGRDSReport.cpp.

References decod_status, and m_decod_status_isSet.

Referenced by BFMDemod::webapiFormatRDSReport().

243  {
244  this->decod_status = decod_status;
245  this->m_decod_status_isSet = true;
246 }
+ Here is the caller graph for this function:

◆ setDemodStatus()

void SWGSDRangel::SWGRDSReport::setDemodStatus ( qint32  demod_status)

Definition at line 233 of file SWGRDSReport.cpp.

References demod_status, and m_demod_status_isSet.

Referenced by BFMDemod::webapiFormatRDSReport().

233  {
234  this->demod_status = demod_status;
235  this->m_demod_status_isSet = true;
236 }
+ Here is the caller graph for this function:

◆ setMonoStereo()

void SWGSDRangel::SWGRDSReport::setMonoStereo ( QString *  mono_stereo)

Definition at line 323 of file SWGRDSReport.cpp.

References m_mono_stereo_isSet, and mono_stereo.

Referenced by BFMDemod::webapiFormatRDSReport().

323  {
324  this->mono_stereo = mono_stereo;
325  this->m_mono_stereo_isSet = true;
326 }
+ Here is the caller graph for this function:

◆ setMusicSpeech()

void SWGSDRangel::SWGRDSReport::setMusicSpeech ( QString *  music_speech)

Definition at line 313 of file SWGRDSReport.cpp.

References m_music_speech_isSet, and music_speech.

Referenced by BFMDemod::webapiFormatRDSReport().

313  {
314  this->music_speech = music_speech;
315  this->m_music_speech_isSet = true;
316 }
+ Here is the caller graph for this function:

◆ setPiCoverage()

void SWGSDRangel::SWGRDSReport::setPiCoverage ( QString *  pi_coverage)

Definition at line 293 of file SWGRDSReport.cpp.

References m_pi_coverage_isSet, and pi_coverage.

Referenced by BFMDemod::webapiFormatRDSReport().

293  {
294  this->pi_coverage = pi_coverage;
295  this->m_pi_coverage_isSet = true;
296 }
+ Here is the caller graph for this function:

◆ setPid()

void SWGSDRangel::SWGRDSReport::setPid ( QString *  pid)

Definition at line 273 of file SWGRDSReport.cpp.

References m_pid_isSet, and pid.

Referenced by BFMDemod::webapiFormatRDSReport().

273  {
274  this->pid = pid;
275  this->m_pid_isSet = true;
276 }
+ Here is the caller graph for this function:

◆ setPiType()

void SWGSDRangel::SWGRDSReport::setPiType ( QString *  pi_type)

Definition at line 283 of file SWGRDSReport.cpp.

References m_pi_type_isSet, and pi_type.

Referenced by BFMDemod::webapiFormatRDSReport().

283  {
284  this->pi_type = pi_type;
285  this->m_pi_type_isSet = true;
286 }
+ Here is the caller graph for this function:

◆ setProgServiceName()

void SWGSDRangel::SWGRDSReport::setProgServiceName ( QString *  prog_service_name)

Definition at line 303 of file SWGRDSReport.cpp.

References m_prog_service_name_isSet, and prog_service_name.

Referenced by BFMDemod::webapiFormatRDSReport().

303  {
305  this->m_prog_service_name_isSet = true;
306 }
+ Here is the caller graph for this function:

◆ setRadioText()

void SWGSDRangel::SWGRDSReport::setRadioText ( QString *  radio_text)

Definition at line 333 of file SWGRDSReport.cpp.

References m_radio_text_isSet, and radio_text.

Referenced by BFMDemod::webapiFormatRDSReport().

333  {
334  this->radio_text = radio_text;
335  this->m_radio_text_isSet = true;
336 }
+ Here is the caller graph for this function:

◆ setRdsDemodAccumDb()

void SWGSDRangel::SWGRDSReport::setRdsDemodAccumDb ( float  rds_demod_accum_db)

Definition at line 253 of file SWGRDSReport.cpp.

References m_rds_demod_accum_db_isSet, and rds_demod_accum_db.

Referenced by BFMDemod::webapiFormatRDSReport().

253  {
255  this->m_rds_demod_accum_db_isSet = true;
256 }
+ Here is the caller graph for this function:

◆ setRdsDemodFrequency()

void SWGSDRangel::SWGRDSReport::setRdsDemodFrequency ( float  rds_demod_frequency)

Definition at line 263 of file SWGRDSReport.cpp.

References m_rds_demod_frequency_isSet, and rds_demod_frequency.

Referenced by BFMDemod::webapiFormatRDSReport().

263  {
265  this->m_rds_demod_frequency_isSet = true;
266 }
+ Here is the caller graph for this function:

◆ setTime()

void SWGSDRangel::SWGRDSReport::setTime ( QString *  time)

Definition at line 343 of file SWGRDSReport.cpp.

References m_time_isSet, and time.

Referenced by BFMDemod::webapiFormatRDSReport().

343  {
344  this->time = time;
345  this->m_time_isSet = true;
346 }
+ Here is the caller graph for this function:

Member Data Documentation

◆ alt_frequencies

QList<SWGRDSReport_altFrequencies*>* SWGSDRangel::SWGRDSReport::alt_frequencies
private

◆ decod_status

qint32 SWGSDRangel::SWGRDSReport::decod_status
private

◆ demod_status

qint32 SWGSDRangel::SWGRDSReport::demod_status
private

◆ m_alt_frequencies_isSet

bool SWGSDRangel::SWGRDSReport::m_alt_frequencies_isSet
private

Definition at line 127 of file SWGRDSReport.h.

Referenced by init(), setAltFrequencies(), and SWGRDSReport().

◆ m_decod_status_isSet

bool SWGSDRangel::SWGRDSReport::m_decod_status_isSet
private

Definition at line 94 of file SWGRDSReport.h.

Referenced by asJsonObject(), init(), isSet(), setDecodStatus(), and SWGRDSReport().

◆ m_demod_status_isSet

bool SWGSDRangel::SWGRDSReport::m_demod_status_isSet
private

Definition at line 91 of file SWGRDSReport.h.

Referenced by asJsonObject(), init(), isSet(), setDemodStatus(), and SWGRDSReport().

◆ m_mono_stereo_isSet

bool SWGSDRangel::SWGRDSReport::m_mono_stereo_isSet
private

Definition at line 118 of file SWGRDSReport.h.

Referenced by init(), setMonoStereo(), and SWGRDSReport().

◆ m_music_speech_isSet

bool SWGSDRangel::SWGRDSReport::m_music_speech_isSet
private

Definition at line 115 of file SWGRDSReport.h.

Referenced by init(), setMusicSpeech(), and SWGRDSReport().

◆ m_pi_coverage_isSet

bool SWGSDRangel::SWGRDSReport::m_pi_coverage_isSet
private

Definition at line 109 of file SWGRDSReport.h.

Referenced by init(), setPiCoverage(), and SWGRDSReport().

◆ m_pi_type_isSet

bool SWGSDRangel::SWGRDSReport::m_pi_type_isSet
private

Definition at line 106 of file SWGRDSReport.h.

Referenced by init(), setPiType(), and SWGRDSReport().

◆ m_pid_isSet

bool SWGSDRangel::SWGRDSReport::m_pid_isSet
private

Definition at line 103 of file SWGRDSReport.h.

Referenced by init(), setPid(), and SWGRDSReport().

◆ m_prog_service_name_isSet

bool SWGSDRangel::SWGRDSReport::m_prog_service_name_isSet
private

Definition at line 112 of file SWGRDSReport.h.

Referenced by init(), setProgServiceName(), and SWGRDSReport().

◆ m_radio_text_isSet

bool SWGSDRangel::SWGRDSReport::m_radio_text_isSet
private

Definition at line 121 of file SWGRDSReport.h.

Referenced by init(), setRadioText(), and SWGRDSReport().

◆ m_rds_demod_accum_db_isSet

bool SWGSDRangel::SWGRDSReport::m_rds_demod_accum_db_isSet
private

Definition at line 97 of file SWGRDSReport.h.

Referenced by asJsonObject(), init(), isSet(), setRdsDemodAccumDb(), and SWGRDSReport().

◆ m_rds_demod_frequency_isSet

bool SWGSDRangel::SWGRDSReport::m_rds_demod_frequency_isSet
private

Definition at line 100 of file SWGRDSReport.h.

Referenced by asJsonObject(), init(), isSet(), setRdsDemodFrequency(), and SWGRDSReport().

◆ m_time_isSet

bool SWGSDRangel::SWGRDSReport::m_time_isSet
private

Definition at line 124 of file SWGRDSReport.h.

Referenced by init(), setTime(), and SWGRDSReport().

◆ mono_stereo

QString* SWGSDRangel::SWGRDSReport::mono_stereo
private

◆ music_speech

QString* SWGSDRangel::SWGRDSReport::music_speech
private

◆ pi_coverage

QString* SWGSDRangel::SWGRDSReport::pi_coverage
private

◆ pi_type

QString* SWGSDRangel::SWGRDSReport::pi_type
private

◆ pid

QString* SWGSDRangel::SWGRDSReport::pid
private

◆ prog_service_name

QString* SWGSDRangel::SWGRDSReport::prog_service_name
private

◆ radio_text

QString* SWGSDRangel::SWGRDSReport::radio_text
private

◆ rds_demod_accum_db

float SWGSDRangel::SWGRDSReport::rds_demod_accum_db
private

◆ rds_demod_frequency

float SWGSDRangel::SWGRDSReport::rds_demod_frequency
private

◆ time

QString* SWGSDRangel::SWGRDSReport::time
private

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