mirror of
https://github.com/f4exb/sdrangel.git
synced 2025-12-19 01:13:32 -05:00
80 lines
2.1 KiB
C++
80 lines
2.1 KiB
C++
/**
|
|
* SDRangel
|
|
* This is the web API of SDRangel SDR software. SDRangel is an Open Source Qt5/OpenGL 3.0+ GUI and server Software Defined Radio and signal analyzer in software. It supports Airspy, BladeRF, HackRF, LimeSDR, PlutoSDR, RTL-SDR, SDRplay RSP1 and FunCube
|
|
*
|
|
* OpenAPI spec version: 4.0.0
|
|
* Contact: f4exb06@gmail.com
|
|
*
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/*
|
|
* SWGDeviceSettings.h
|
|
*
|
|
* Base device settings
|
|
*/
|
|
|
|
#ifndef SWGDeviceSettings_H_
|
|
#define SWGDeviceSettings_H_
|
|
|
|
#include <QJsonObject>
|
|
|
|
|
|
#include "SWGFileSourceSettings.h"
|
|
#include "SWGLimeSdrInputSettings.h"
|
|
#include "SWGLimeSdrOutputSettings.h"
|
|
#include "SWGRtlSdrSettings.h"
|
|
#include <QString>
|
|
|
|
#include "SWGObject.h"
|
|
|
|
|
|
namespace SWGSDRangel {
|
|
|
|
class SWGDeviceSettings: public SWGObject {
|
|
public:
|
|
SWGDeviceSettings();
|
|
SWGDeviceSettings(QString* json);
|
|
virtual ~SWGDeviceSettings();
|
|
void init();
|
|
void cleanup();
|
|
|
|
QString asJson ();
|
|
QJsonObject* asJsonObject();
|
|
void fromJsonObject(QJsonObject &json);
|
|
SWGDeviceSettings* fromJson(QString &jsonString);
|
|
|
|
QString* getDeviceHwType();
|
|
void setDeviceHwType(QString* device_hw_type);
|
|
|
|
qint32 getTx();
|
|
void setTx(qint32 tx);
|
|
|
|
SWGFileSourceSettings* getFileSourceSettings();
|
|
void setFileSourceSettings(SWGFileSourceSettings* file_source_settings);
|
|
|
|
SWGRtlSdrSettings* getRtlSdrSettings();
|
|
void setRtlSdrSettings(SWGRtlSdrSettings* rtl_sdr_settings);
|
|
|
|
SWGLimeSdrInputSettings* getLimeSdrInputSettings();
|
|
void setLimeSdrInputSettings(SWGLimeSdrInputSettings* lime_sdr_input_settings);
|
|
|
|
SWGLimeSdrOutputSettings* getLimeSdrOutputSettings();
|
|
void setLimeSdrOutputSettings(SWGLimeSdrOutputSettings* lime_sdr_output_settings);
|
|
|
|
|
|
private:
|
|
QString* device_hw_type;
|
|
qint32 tx;
|
|
SWGFileSourceSettings* file_source_settings;
|
|
SWGRtlSdrSettings* rtl_sdr_settings;
|
|
SWGLimeSdrInputSettings* lime_sdr_input_settings;
|
|
SWGLimeSdrOutputSettings* lime_sdr_output_settings;
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* SWGDeviceSettings_H_ */
|