mirror of https://github.com/f4exb/sdrangel.git
66 lines
1.5 KiB
C++
66 lines
1.5 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.
|
|
*/
|
|
|
|
/*
|
|
* SWGDeviceSet.h
|
|
*
|
|
* Sampling device and its associated channels
|
|
*/
|
|
|
|
#ifndef SWGDeviceSet_H_
|
|
#define SWGDeviceSet_H_
|
|
|
|
#include <QJsonObject>
|
|
|
|
|
|
#include "SWGChannel.h"
|
|
#include "SWGSamplingDevice.h"
|
|
#include <QList>
|
|
|
|
#include "SWGObject.h"
|
|
|
|
|
|
namespace SWGSDRangel {
|
|
|
|
class SWGDeviceSet: public SWGObject {
|
|
public:
|
|
SWGDeviceSet();
|
|
SWGDeviceSet(QString* json);
|
|
virtual ~SWGDeviceSet();
|
|
void init();
|
|
void cleanup();
|
|
|
|
QString asJson ();
|
|
QJsonObject* asJsonObject();
|
|
void fromJsonObject(QJsonObject &json);
|
|
SWGDeviceSet* fromJson(QString &jsonString);
|
|
|
|
SWGSamplingDevice* getSamplingDevice();
|
|
void setSamplingDevice(SWGSamplingDevice* sampling_device);
|
|
|
|
qint32 getChannelcount();
|
|
void setChannelcount(qint32 channelcount);
|
|
|
|
QList<SWGChannel*>* getChannels();
|
|
void setChannels(QList<SWGChannel*>* channels);
|
|
|
|
|
|
private:
|
|
SWGSamplingDevice* sampling_device;
|
|
qint32 channelcount;
|
|
QList<SWGChannel*>* channels;
|
|
};
|
|
|
|
}
|
|
|
|
#endif /* SWGDeviceSet_H_ */
|