#include <motor.h>
|
| MotorWdg (QWidget *parent, std::unique_ptr< utils::bat::DbInterface > &dbinterface, const std::string &name, const std::string &config, const std::string &server_id="undefined", const int &cmd_timeout=60000) |
|
virtual | ~MotorWdg () |
|
virtual void | StartSubscription () |
|
void | GetMessage (std::shared_ptr<::elt::mal::Mal > mal, std::vector< std::shared_ptr<::fcfif::SetupElem >> &setup_buffer, bool ignoreChecked=false) |
|
virtual void | UpdateData () |
|
virtual void | GetDbAttributes () |
|
virtual void | SetEnable (bool flag) |
|
| DeviceWdg (QWidget *parent, std::unique_ptr< utils::bat::DbInterface > &dbinterface, const std::string &name, const int &cmd_timeout) |
|
virtual | ~DeviceWdg () |
|
std::string | GetName () |
|
void | Select () |
|
void | Deselect () |
|
bool | IsSelected () |
|
virtual void | Stop () |
|
|
void | SetupCommonUi () |
|
void | SetupInfoUi (const std::string &overview, const std::string &desc) |
|
bool | IsSimulated () |
|
void | SetProperty (QPushButton *button, std::string property, bool flag) |
|
void | SetProperty (QRadioButton *button, std::string property, bool flag) |
|
void | SetProperty (QLabel *label, std::string property, bool flag) |
|
void | SetProperty (QComboBox *combo, std::string property, bool flag) |
|
void | SetProperty (QSpinBox *spin, std::string property, bool flag) |
|
void | SetProperty (QDoubleSpinBox *spin, std::string property, bool flag) |
|
QTimer * | m_spinner_timer |
|
std::unique_ptr< utils::bat::DbInterface > & | m_dbinterface |
|
std::string | m_name |
|
int | m_cmd_timeout |
|
bool | m_simulated |
|
std::string | m_lcs_prefix |
|
std::string | m_cfg_prefix |
|
QString | m_error_text {""} |
|
QString | m_error_tooltip {""} |
|
std::vector< std::string > | m_dbattribute_vector |
|
CommonUi | m_ui |
|
◆ MotorWdg()
MotorWdg::MotorWdg |
( |
QWidget * |
parent, |
|
|
std::unique_ptr< utils::bat::DbInterface > & |
dbinterface, |
|
|
const std::string & |
name, |
|
|
const std::string & |
config, |
|
|
const std::string & |
server_id = "undefined" , |
|
|
const int & |
cmd_timeout = 60000 |
|
) |
| |
|
explicit |
◆ ~MotorWdg()
◆ GetDbAttributes()
void MotorWdg::GetDbAttributes |
( |
| ) |
|
|
virtual |
◆ GetMessage()
void MotorWdg::GetMessage |
( |
std::shared_ptr<::elt::mal::Mal > |
mal, |
|
|
std::vector< std::shared_ptr<::fcfif::SetupElem >> & |
setup_buffer, |
|
|
bool |
ignoreChecked = false |
|
) |
| |
|
virtual |
◆ HandleLaunchButton
void MotorWdg::HandleLaunchButton |
( |
| ) |
|
|
slot |
◆ NewEncoders
void MotorWdg::NewEncoders |
( |
double |
encoders | ) |
|
|
signal |
◆ NewNamePos
void MotorWdg::NewNamePos |
( |
QString |
named_pos | ) |
|
|
signal |
◆ NewPosition
void MotorWdg::NewPosition |
( |
double |
position | ) |
|
|
signal |
◆ SetActive [1/2]
void MotorWdg::SetActive |
( |
double |
value | ) |
|
|
slot |
◆ SetActive [2/2]
void MotorWdg::SetActive |
( |
int |
index | ) |
|
|
slot |
◆ SetEnable()
void MotorWdg::SetEnable |
( |
bool |
flag | ) |
|
|
virtual |
◆ StartSubscription()
void MotorWdg::StartSubscription |
( |
| ) |
|
|
virtual |
◆ UpdateData()
void MotorWdg::UpdateData |
( |
| ) |
|
|
virtual |
◆ UpdateEncoders
void MotorWdg::UpdateEncoders |
( |
double |
encoders | ) |
|
|
slot |
◆ UpdateNamedPos
void MotorWdg::UpdateNamedPos |
( |
QString |
named_pos | ) |
|
|
slot |
◆ UpdatePosition
void MotorWdg::UpdatePosition |
( |
double |
position | ) |
|
|
slot |
◆ UpdateSpinner
void MotorWdg::UpdateSpinner |
( |
int |
substate | ) |
|
|
slot |
◆ UpdateSubstate
void MotorWdg::UpdateSubstate |
( |
int |
substate | ) |
|
|
slot |
The documentation for this class was generated from the following files: