|
| struct | Device |
| | A discovered device, merged from GVCP and SAP by IP address. More...
|
| struct | Result |
| | A device found by the GVCP broadcast with its image format, if it could be read. More...
|
|
|
void | discover () |
| | Broadcast a GVCP discovery command and collect the replies.
|
| void | sapReceived (const QString name, const ::mediax::sap::SdpMessage message) |
| | A GigE Vision SAP announcement was received.
|
|
void | playSelected () |
| | Open a player for the selected device.
|
|
| | GigEDiscoveryTab (Ui::Dialog &ui, SapManager *sap, QWidget *parent=nullptr) |
| | Construct a new GigE discovery tab and wire up the widgets.
|
|
| ~GigEDiscoveryTab () final |
| | Stop any discovery in progress.
|
|
|
void | updateTable () |
| | Redraw the table from the known devices.
|
|
|
void | gvcpResults (const std::vector< Result > &results) |
| | Merge the GVCP results into the known devices (GUI thread).
|
|
|
Ui::Dialog & | m_ui |
| | The main dialogue UI.
|
|
QWidget * | m_parent |
| | Parent widget for player windows.
|
|
std::map< QString, Device > | m_devices |
| | The known devices keyed by IP address.
|
|
std::map< QString, QDateTime > | m_probed |
| | When the image format of a device was last read (or tried), keyed by IP address.
|
|
std::set< QString > | m_probe_ok |
| | Devices whose last read worked.
|
|
std::thread | m_thread |
| | GVCP broadcast thread.
|
|
std::atomic< bool > | m_discovering { false } |
| | A discovery broadcast is in progress.
|
|
std::atomic< bool > | m_closing { false } |
| | Set when the tab is being destroyed.
|
|
QTimer | m_refresh_timer |
| | Auto refresh timer.
|
|
QTimer | m_update_timer |
| | Table redraw timer, keeps the status column current.
|
◆ GigEDiscoveryTab()
| GigEDiscoveryTab::GigEDiscoveryTab |
( |
Ui::Dialog & | ui, |
|
|
SapManager * | sap, |
|
|
QWidget * | parent = nullptr ) |
|
explicit |
Construct a new GigE discovery tab and wire up the widgets.
- Parameters
-
| ui | the main dialogue UI |
| sap | the SAP manager that supplies the GigE SAP announcements |
| parent | the parent widget for the player windows |
◆ sapReceived
| void GigEDiscoveryTab::sapReceived |
( |
const QString | name, |
|
|
const ::mediax::sap::SdpMessage | message ) |
|
slot |
A GigE Vision SAP announcement was received.
- Parameters
-
| name | the session name |
| message | the SDP message |
The documentation for this class was generated from the following files: