dRonin  adbada4
dRonin GCS
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Groups Pages
Core::ConnectionManager Class Reference

#include <connectionmanager.h>

Inheritance diagram for Core::ConnectionManager:

Public Slots

void telemetryConnected ()
 
void telemetryDisconnected ()
 
void telemetryUpdated (double txRate, double rxRate)
 

Signals

void deviceConnected (QIODevice *device)
 
void deviceAboutToDisconnect ()
 
void deviceDisconnected ()
 
void availableDevicesChanged (const QLinkedList< Core::DevListItem > devices)
 

Public Member Functions

 ConnectionManager (Internal::MainWindow *mainWindow, QTabWidget *modeStack)
 
virtual ~ConnectionManager ()
 
void init ()
 
QIODevice * getCurrentConnection ()
 
DevListItem getCurrentDevice ()
 
DevListItem findDevice (const QString &devName)
 
QLinkedList< DevListItemgetAvailableDevices ()
 
bool isConnected ()
 
bool connectDevice (DevListItem device)
 
bool disconnectDevice ()
 
void suspendPolling ()
 
void resumePolling ()
 
TelemetryMonitorWidgetgetTelemetryMonitorWidget ()
 
bool getAutoconnect ()
 

Protected Member Functions

void updateConnectionList (IConnection *connection)
 
void registerDevice (IConnection *conn, IDevice *device)
 
void updateConnectionDropdown ()
 

Protected Attributes

QComboBox * m_availableDevList
 
QPushButton * m_connectBtn
 
QLinkedList< DevListItemm_devList
 
QList< IConnection * > m_connectionsList
 
TelemetryMonitorWidgetm_monitorWidget
 
DevListItem m_connectionDevice
 
DevListItem m_lastManualConnect
 
QIODevice * m_ioDev
 

Detailed Description

Definition at line 97 of file connectionmanager.h.


The documentation for this class was generated from the following files: