NDEVR
API Documentation
WinchDeploymentDialog

Dialog providing detailed winch deployment controls and distance encoder feedback. More...

Collaboration diagram for WinchDeploymentDialog:
[legend]

Public Member Functions

 WinchDeploymentDialog (Motor *winch, QWidget *parent=nullptr)
 Constructs a WinchDeploymentDialog for a specific motor.
 WinchDeploymentDialog (QWidget *parent=nullptr)
 Constructs a WinchDeploymentDialog without a motor.
void setMotor (Motor *winch)
 Sets the motor to control.

Protected Member Functions

void setupUI ()
 Initializes the UI layout and controls.

Protected Attributes

DistanceEncoderm_encoder
 The distance encoder providing position feedback.
Motorm_winch
 The motor being controlled.
Ui::WinchDeploymentDialogUI * ui
 The auto-generated UI form.

Detailed Description

Dialog providing detailed winch deployment controls and distance encoder feedback.


Definition at line 70 of file WinchDeploymentWidget.h.

Constructor & Destructor Documentation

◆ WinchDeploymentDialog() [1/2]

WinchDeploymentDialog::WinchDeploymentDialog ( QWidget * parent = nullptr)

Constructs a WinchDeploymentDialog without a motor.

Parameters
[in]parentThe parent widget.

◆ WinchDeploymentDialog() [2/2]

WinchDeploymentDialog::WinchDeploymentDialog ( Motor * winch,
QWidget * parent = nullptr )

Constructs a WinchDeploymentDialog for a specific motor.

Parameters
[in]winchThe Motor to control.
[in]parentThe parent widget.

Member Function Documentation

◆ setMotor()

void WinchDeploymentDialog::setMotor ( Motor * winch)

Sets the motor to control.

Parameters
[in]winchThe Motor to assign to this dialog.

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