NDEVR
API Documentation
ConnectionForwardingDialog.h
1#pragma once
2#include "DLLInfo.h"
3#include <NDEVR/Buffer.h>
4#include <QTableWidget>
5namespace NDEVR
6{
7class File;
8 class JSONNode;
13 class HARDWARE_WIDGETS_API ConnectionForwardingDialog : public QWidget
14 {
15 public:
20 ConnectionForwardingDialog(QWidget* parent = nullptr);
22 void clearAll();
32 void fromJSON(const JSONNode& node);
38 protected:
41 protected:
43 QTableWidget* m_table;
44 };
45}
The equivelent of std::vector but with a bit more control.
Definition Buffer.hpp:58
QTableWidget * m_table
The table widget displaying forwarding entries.
ConnectionForwardingDialog(QWidget *parent=nullptr)
Constructs a ConnectionForwardingDialog.
File defaultJSONFile() const
Returns the default file path for storing forwarding configuration as JSON.
JSONNode toJSON()
Serializes all connection forwarding entries to a JSON node.
Buffer< ConnectionForwarding * > m_connections
The list of connection forwarding entries.
void fromJSON(const JSONNode &node)
Populates the table from a JSON node containing forwarding entries.
void updateTable()
Refreshes the table display to reflect the current forwarding entries.
void clearAll()
Removes all connection forwarding entries from the table.
Logic for taking all rx data from one Connection and sending it through another Connection and vice-v...
Logic for reading or writing to a file as well as navigating filesystems or other common file operati...
Definition File.h:53
JavaScript Object Notation or JSON is an open - standard file format that uses human - readable text ...
Definition JSONParser.h:149
The primary namespace for the NDEVR SDK.