API Documentation
Loading...
Searching...
No Matches
MotorDeploymentWidget Class Reference

Provides an interface for controlling a motor involved with a particular Deployment. More...

#include <WinchDeploymentWidget.h>

Inheritance diagram for MotorDeploymentWidget:
[legend]
Collaboration diagram for MotorDeploymentWidget:
[legend]

Public Member Functions

 MotorDeploymentWidget (Motor *winch, QWidget *parent=nullptr)
 
 MotorDeploymentWidget (QWidget *parent=nullptr)
 
void setMotor (Motor *winch)
 
void startMotor (bool up, bool constant)
 
void stopWinch ()
 

Protected Member Functions

WinchDeploymentDialogdeploymentDialog ()
 
void setupUI ()
 

Protected Attributes

Buttonm_deploy_constant_down
 
Buttonm_deploy_constant_up
 
Buttonm_deploy_down
 
Buttonm_deploy_up
 
WinchDeploymentDialogm_deployment_dialog
 
Motorm_motor
 

Detailed Description

Provides an interface for controlling a motor involved with a particular Deployment.


Constructor & Destructor Documentation

◆ MotorDeploymentWidget() [1/2]

MotorDeploymentWidget ( QWidget * parent = nullptr)

◆ MotorDeploymentWidget() [2/2]

MotorDeploymentWidget ( Motor * winch,
QWidget * parent = nullptr )

Member Function Documentation

◆ deploymentDialog()

WinchDeploymentDialog * deploymentDialog ( )
protected

◆ setMotor()

void setMotor ( Motor * winch)

◆ setupUI()

void setupUI ( )
protected

◆ startMotor()

void startMotor ( bool up,
bool constant )

◆ stopWinch()

void stopWinch ( )

Member Data Documentation

◆ m_deploy_constant_down

Button* m_deploy_constant_down
protected

◆ m_deploy_constant_up

Button* m_deploy_constant_up
protected

◆ m_deploy_down

Button* m_deploy_down
protected

◆ m_deploy_up

Button* m_deploy_up
protected

◆ m_deployment_dialog

WinchDeploymentDialog* m_deployment_dialog
protected

◆ m_motor

Motor* m_motor
protected

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