Public Slots | Signals | Public Member Functions | Protected Member Functions | Private Member Functions | Private Attributes
MainWindow Class Reference

#include <segwayrmp_gui.h>

List of all members.

Public Slots

void commandPoll ()
void connectionTypeChanged (QString)
void handleSegwayLog (QString)
void handleSegwayStatus (QString)
void onBalanceLockout ()
void onBalanceUnlock ()
void onConnectClicked ()
void onDisableMotors ()
void onJoystickChanged (int)
void onRequestBalance ()
void onRequestPowerDown ()
void onRequestTractor ()
void onResetIntegrators ()
void onSendConfig ()
void rmpTypeChanged (QString)
void updateJoysticks ()
void updateUSBList ()
void USBListUpdated ()

Signals

void segwayLog (QString)
void segwayStatus (QString)
void USBUpdateComplete ()

Public Member Functions

 MainWindow (QWidget *parent=0)
void onSegwayLog (QString, const std::string &)
void onSegwayStatus (segwayrmp::SegwayStatus::Ptr)
 ~MainWindow ()

Protected Member Functions

void closeEvent (QCloseEvent *)

Private Member Functions

void updateUSBList_ ()

Private Attributes

bool connected_
segwayrmp::InterfaceType interface_type_
QMutex joy_mutex_
SDL_Joystick * joystick_
segwayrmp::SegwayRMPrmp_
segwayrmp::SegwayRMPType rmp_type_
bool running_
Ui::MainWindow * ui
QVector< QString > usb_devices_

Detailed Description

Definition at line 15 of file segwayrmp_gui.h.


Constructor & Destructor Documentation

MainWindow::MainWindow ( QWidget *  parent = 0) [explicit]

Definition at line 13 of file segwayrmp_gui.cc.

Definition at line 65 of file segwayrmp_gui.cc.


Member Function Documentation

void MainWindow::closeEvent ( QCloseEvent *  e) [protected]

Definition at line 70 of file segwayrmp_gui.cc.

void MainWindow::commandPoll ( ) [slot]

Definition at line 74 of file segwayrmp_gui.cc.

void MainWindow::connectionTypeChanged ( QString  mode) [slot]

Definition at line 281 of file segwayrmp_gui.cc.

void MainWindow::handleSegwayLog ( QString  log) [slot]

Definition at line 224 of file segwayrmp_gui.cc.

void MainWindow::handleSegwayStatus ( QString  ss) [slot]

Definition at line 234 of file segwayrmp_gui.cc.

Definition at line 188 of file segwayrmp_gui.cc.

void MainWindow::onBalanceUnlock ( ) [slot]

Definition at line 194 of file segwayrmp_gui.cc.

Definition at line 238 of file segwayrmp_gui.cc.

void MainWindow::onDisableMotors ( ) [slot]

Definition at line 164 of file segwayrmp_gui.cc.

void MainWindow::onJoystickChanged ( int  index) [slot]

Definition at line 111 of file segwayrmp_gui.cc.

Definition at line 176 of file segwayrmp_gui.cc.

Definition at line 182 of file segwayrmp_gui.cc.

Definition at line 170 of file segwayrmp_gui.cc.

Definition at line 158 of file segwayrmp_gui.cc.

void MainWindow::onSegwayLog ( QString  log_type,
const std::string &  msg 
)

Definition at line 220 of file segwayrmp_gui.cc.

Definition at line 229 of file segwayrmp_gui.cc.

void MainWindow::onSendConfig ( ) [slot]

Definition at line 200 of file segwayrmp_gui.cc.

void MainWindow::rmpTypeChanged ( QString  type) [slot]

Definition at line 296 of file segwayrmp_gui.cc.

void MainWindow::segwayLog ( QString  ) [signal]
void MainWindow::segwayStatus ( QString  ) [signal]
void MainWindow::updateJoysticks ( ) [slot]

Definition at line 147 of file segwayrmp_gui.cc.

void MainWindow::updateUSBList ( ) [slot]

Definition at line 318 of file segwayrmp_gui.cc.

void MainWindow::updateUSBList_ ( ) [private]

Definition at line 322 of file segwayrmp_gui.cc.

void MainWindow::USBListUpdated ( ) [slot]

Definition at line 311 of file segwayrmp_gui.cc.

void MainWindow::USBUpdateComplete ( ) [signal]

Member Data Documentation

bool MainWindow::connected_ [private]

Definition at line 56 of file segwayrmp_gui.h.

Definition at line 59 of file segwayrmp_gui.h.

QMutex MainWindow::joy_mutex_ [private]

Definition at line 62 of file segwayrmp_gui.h.

SDL_Joystick* MainWindow::joystick_ [private]

Definition at line 61 of file segwayrmp_gui.h.

Definition at line 58 of file segwayrmp_gui.h.

Definition at line 60 of file segwayrmp_gui.h.

bool MainWindow::running_ [private]

Definition at line 63 of file segwayrmp_gui.h.

Ui::MainWindow* MainWindow::ui [private]

Definition at line 55 of file segwayrmp_gui.h.

QVector<QString> MainWindow::usb_devices_ [private]

Definition at line 57 of file segwayrmp_gui.h.


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


libsegwayrmp
Author(s): William Woodall
autogenerated on Wed Aug 26 2015 12:23:19