![]() |
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.
|
#include <SWGDeviceListItem.h>
Inheritance diagram for SWGSDRangel::SWGDeviceListItem:
Collaboration diagram for SWGSDRangel::SWGDeviceListItem:Public Member Functions | |
| SWGDeviceListItem () | |
| SWGDeviceListItem (QString *json) | |
| virtual | ~SWGDeviceListItem () |
| void | init () |
| void | cleanup () |
| virtual QString | asJson () override |
| virtual QJsonObject * | asJsonObject () override |
| virtual void | fromJsonObject (QJsonObject &json) override |
| virtual SWGDeviceListItem * | fromJson (QString &jsonString) override |
| QString * | getDisplayedName () |
| void | setDisplayedName (QString *displayed_name) |
| QString * | getHwType () |
| void | setHwType (QString *hw_type) |
| QString * | getSerial () |
| void | setSerial (QString *serial) |
| qint32 | getSequence () |
| void | setSequence (qint32 sequence) |
| qint32 | getDirection () |
| void | setDirection (qint32 direction) |
| qint32 | getDeviceNbStreams () |
| void | setDeviceNbStreams (qint32 device_nb_streams) |
| qint32 | getDeviceStreamIndex () |
| void | setDeviceStreamIndex (qint32 device_stream_index) |
| qint32 | getDeviceSetIndex () |
| void | setDeviceSetIndex (qint32 device_set_index) |
| qint32 | getIndex () |
| void | setIndex (qint32 index) |
| virtual bool | isSet () override |
Public Member Functions inherited from SWGSDRangel::SWGObject | |
| virtual | ~SWGObject () |
Private Attributes | |
| QString * | displayed_name |
| bool | m_displayed_name_isSet |
| QString * | hw_type |
| bool | m_hw_type_isSet |
| QString * | serial |
| bool | m_serial_isSet |
| qint32 | sequence |
| bool | m_sequence_isSet |
| qint32 | direction |
| bool | m_direction_isSet |
| qint32 | device_nb_streams |
| bool | m_device_nb_streams_isSet |
| qint32 | device_stream_index |
| bool | m_device_stream_index_isSet |
| qint32 | device_set_index |
| bool | m_device_set_index_isSet |
| qint32 | index |
| bool | m_index_isSet |
Definition at line 32 of file SWGDeviceListItem.h.
| SWGSDRangel::SWGDeviceListItem::SWGDeviceListItem | ( | ) |
Definition at line 30 of file SWGDeviceListItem.cpp.
References device_nb_streams, device_set_index, device_stream_index, direction, displayed_name, hw_type, index, m_device_nb_streams_isSet, m_device_set_index_isSet, m_device_stream_index_isSet, m_direction_isSet, m_displayed_name_isSet, m_hw_type_isSet, m_index_isSet, m_sequence_isSet, m_serial_isSet, sequence, and serial.
| SWGSDRangel::SWGDeviceListItem::SWGDeviceListItem | ( | QString * | json | ) |
Definition at line 25 of file SWGDeviceListItem.cpp.
References fromJson(), and init().
Here is the call graph for this function:
|
virtual |
Definition at line 51 of file SWGDeviceListItem.cpp.
References cleanup().
Here is the call graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 128 of file SWGDeviceListItem.cpp.
References asJsonObject().
Referenced by SWGSDRangel::SWGDeviceSetApi::devicesetDevicePut(), and WebAPIRequestMapper::devicesetDeviceService().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 139 of file SWGDeviceListItem.cpp.
References device_nb_streams, device_set_index, device_stream_index, direction, displayed_name, hw_type, index, m_device_nb_streams_isSet, m_device_set_index_isSet, m_device_stream_index_isSet, m_direction_isSet, m_index_isSet, m_sequence_isSet, sequence, serial, and SWGSDRangel::toJsonValue().
Referenced by asJson().
Here is the call graph for this function:
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceListItem::cleanup | ( | ) |
Definition at line 78 of file SWGDeviceListItem.cpp.
References displayed_name, hw_type, and serial.
Referenced by ~SWGDeviceListItem().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 97 of file SWGDeviceListItem.cpp.
References fromJsonObject().
Referenced by SWGDeviceListItem().
Here is the call graph for this function:
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 106 of file SWGDeviceListItem.cpp.
References device_nb_streams, device_set_index, device_stream_index, direction, displayed_name, hw_type, index, sequence, serial, and SWGSDRangel::setValue().
Referenced by fromJson().
Here is the call graph for this function:
Here is the caller graph for this function:| qint32 SWGSDRangel::SWGDeviceListItem::getDeviceNbStreams | ( | ) |
Definition at line 223 of file SWGDeviceListItem.cpp.
References device_nb_streams.
| qint32 SWGSDRangel::SWGDeviceListItem::getDeviceSetIndex | ( | ) |
Definition at line 243 of file SWGDeviceListItem.cpp.
References device_set_index.
| qint32 SWGSDRangel::SWGDeviceListItem::getDeviceStreamIndex | ( | ) |
Definition at line 233 of file SWGDeviceListItem.cpp.
References device_stream_index.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), and WebAPIAdapterSrv::devicesetDevicePut().
Here is the caller graph for this function:| qint32 SWGSDRangel::SWGDeviceListItem::getDirection | ( | ) |
Definition at line 213 of file SWGDeviceListItem.cpp.
References direction.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), and WebAPIAdapterSrv::devicesetDevicePut().
Here is the caller graph for this function:| QString * SWGSDRangel::SWGDeviceListItem::getDisplayedName | ( | ) |
Definition at line 173 of file SWGDeviceListItem.cpp.
References displayed_name.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), and WebAPIAdapterSrv::devicesetDevicePut().
Here is the caller graph for this function:| QString * SWGSDRangel::SWGDeviceListItem::getHwType | ( | ) |
Definition at line 183 of file SWGDeviceListItem.cpp.
References hw_type.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), and WebAPIAdapterSrv::devicesetDevicePut().
Here is the caller graph for this function:| qint32 SWGSDRangel::SWGDeviceListItem::getIndex | ( | ) |
| qint32 SWGSDRangel::SWGDeviceListItem::getSequence | ( | ) |
Definition at line 203 of file SWGDeviceListItem.cpp.
References sequence.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), and WebAPIAdapterSrv::devicesetDevicePut().
Here is the caller graph for this function:| QString * SWGSDRangel::SWGDeviceListItem::getSerial | ( | ) |
Definition at line 193 of file SWGDeviceListItem.cpp.
References serial.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), and WebAPIAdapterSrv::devicesetDevicePut().
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceListItem::init | ( | ) |
Definition at line 56 of file SWGDeviceListItem.cpp.
References device_nb_streams, device_set_index, device_stream_index, direction, displayed_name, hw_type, index, m_device_nb_streams_isSet, m_device_set_index_isSet, m_device_stream_index_isSet, m_direction_isSet, m_displayed_name_isSet, m_hw_type_isSet, m_index_isSet, m_sequence_isSet, m_serial_isSet, sequence, and serial.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterSrv::devicesetDevicePut(), and SWGDeviceListItem().
Here is the caller graph for this function:
|
overridevirtual |
Reimplemented from SWGSDRangel::SWGObject.
Definition at line 264 of file SWGDeviceListItem.cpp.
References displayed_name, hw_type, m_device_nb_streams_isSet, m_device_set_index_isSet, m_device_stream_index_isSet, m_direction_isSet, m_index_isSet, m_sequence_isSet, and serial.
| void SWGSDRangel::SWGDeviceListItem::setDeviceNbStreams | ( | qint32 | device_nb_streams | ) |
Definition at line 227 of file SWGDeviceListItem.cpp.
References device_nb_streams, and m_device_nb_streams_isSet.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), and WebAPIAdapterSrv::devicesetDevicePut().
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceListItem::setDeviceSetIndex | ( | qint32 | device_set_index | ) |
Definition at line 247 of file SWGDeviceListItem.cpp.
References device_set_index, and m_device_set_index_isSet.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), and WebAPIAdapterSrv::devicesetDevicePut().
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceListItem::setDeviceStreamIndex | ( | qint32 | device_stream_index | ) |
Definition at line 237 of file SWGDeviceListItem.cpp.
References device_stream_index, and m_device_stream_index_isSet.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterSrv::devicesetDevicePut(), and WebAPIRequestMapper::validateDeviceListItem().
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceListItem::setDirection | ( | qint32 | direction | ) |
Definition at line 217 of file SWGDeviceListItem.cpp.
References direction, and m_direction_isSet.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterSrv::devicesetDevicePut(), and WebAPIRequestMapper::validateDeviceListItem().
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceListItem::setDisplayedName | ( | QString * | displayed_name | ) |
Definition at line 177 of file SWGDeviceListItem.cpp.
References displayed_name, and m_displayed_name_isSet.
Referenced by WebAPIRequestMapper::validateDeviceListItem().
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceListItem::setHwType | ( | QString * | hw_type | ) |
Definition at line 187 of file SWGDeviceListItem.cpp.
References hw_type, and m_hw_type_isSet.
Referenced by WebAPIRequestMapper::validateDeviceListItem().
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceListItem::setIndex | ( | qint32 | index | ) |
Definition at line 257 of file SWGDeviceListItem.cpp.
References index, and m_index_isSet.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterSrv::devicesetDevicePut(), and WebAPIRequestMapper::validateDeviceListItem().
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceListItem::setSequence | ( | qint32 | sequence | ) |
Definition at line 207 of file SWGDeviceListItem.cpp.
References m_sequence_isSet, and sequence.
Referenced by WebAPIAdapterGUI::devicesetDevicePut(), WebAPIAdapterSrv::devicesetDevicePut(), and WebAPIRequestMapper::validateDeviceListItem().
Here is the caller graph for this function:| void SWGSDRangel::SWGDeviceListItem::setSerial | ( | QString * | serial | ) |
Definition at line 197 of file SWGDeviceListItem.cpp.
References m_serial_isSet, and serial.
Referenced by WebAPIRequestMapper::validateDeviceListItem().
Here is the caller graph for this function:
|
private |
Definition at line 91 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), fromJsonObject(), getDeviceNbStreams(), init(), setDeviceNbStreams(), and SWGDeviceListItem().
|
private |
Definition at line 97 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), fromJsonObject(), getDeviceSetIndex(), init(), setDeviceSetIndex(), and SWGDeviceListItem().
|
private |
Definition at line 94 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), fromJsonObject(), getDeviceStreamIndex(), init(), setDeviceStreamIndex(), and SWGDeviceListItem().
|
private |
Definition at line 88 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), fromJsonObject(), getDirection(), init(), setDirection(), and SWGDeviceListItem().
|
private |
Definition at line 76 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getDisplayedName(), init(), isSet(), setDisplayedName(), and SWGDeviceListItem().
|
private |
Definition at line 79 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getHwType(), init(), isSet(), setHwType(), and SWGDeviceListItem().
|
private |
Definition at line 100 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), fromJsonObject(), getIndex(), init(), setIndex(), and SWGDeviceListItem().
|
private |
Definition at line 92 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), init(), isSet(), setDeviceNbStreams(), and SWGDeviceListItem().
|
private |
Definition at line 98 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), init(), isSet(), setDeviceSetIndex(), and SWGDeviceListItem().
|
private |
Definition at line 95 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), init(), isSet(), setDeviceStreamIndex(), and SWGDeviceListItem().
|
private |
Definition at line 89 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), init(), isSet(), setDirection(), and SWGDeviceListItem().
|
private |
Definition at line 77 of file SWGDeviceListItem.h.
Referenced by init(), setDisplayedName(), and SWGDeviceListItem().
|
private |
Definition at line 80 of file SWGDeviceListItem.h.
Referenced by init(), setHwType(), and SWGDeviceListItem().
|
private |
Definition at line 101 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), init(), isSet(), setIndex(), and SWGDeviceListItem().
|
private |
Definition at line 86 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), init(), isSet(), setSequence(), and SWGDeviceListItem().
|
private |
Definition at line 83 of file SWGDeviceListItem.h.
Referenced by init(), setSerial(), and SWGDeviceListItem().
|
private |
Definition at line 85 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), fromJsonObject(), getSequence(), init(), setSequence(), and SWGDeviceListItem().
|
private |
Definition at line 82 of file SWGDeviceListItem.h.
Referenced by asJsonObject(), cleanup(), fromJsonObject(), getSerial(), init(), isSet(), setSerial(), and SWGDeviceListItem().
1.8.13