EtherCAT Graphical User Interface Code 0.0.1
EtherCAT GUI that uses different communication protocols with EtherCAT Master server.
Loading...
Searching...
No Matches
EcGuiSlider Class Reference
Inheritance diagram for EcGuiSlider:
Inheritance graph
Collaboration diagram for EcGuiSlider:
Collaboration graph

Classes

struct  slider_map_t
struct  device_ctrl_t

Public Types

typedef std::shared_ptr< EcGuiSlider > Ptr

Public Member Functions

 EcGuiSlider (QWidget *parent=nullptr)
slider_map_t get_sliders ()
void create_sliders (SSI device_info, device_ctrl_t device_ctrl)
void delete_sliders ()
void reset_sliders ()
void enable_sliders ()
void disable_sliders ()
void check_sliders ()
void uncheck_sliders ()
void set_sliders_info (double st, bool stopping_wave)
int get_control_mode (std::string tab_name)
void enable_control_mode (const std::string &tab_name)
void disable_control_mode (const std::string &tab_name)

Private Slots

void control_mode_change ()

Private Member Functions

void delete_items (QLayout *layout)
void on_checkbox_clicked (QCheckBox *, int)
void set_control_mode (const std::string &tab_name)
QVBoxLayout * retrieve_slider_layout (const std::string &tab_name, const QStringList &control_mode, const std::vector< int > control_mode_hex)
void adjust_slave_info (SliderWidget::slider_info_s &slide_info, int index, std::vector< std::string > new_fields)

Private Attributes

slider_map_t _slider_map
float _control_mode
QTabWidget * _devicecontrol
std::map< std::string, SliderWindow * > _sliders_window_map
QVBoxLayout * _sliders_motorlayout
QVBoxLayout * _sliders_valvelayout
QVBoxLayout * _sliders_pumplayout
QVBoxLayout * _sliders_gripperlayout
QListWidget * _device_list_wid
std::map< int32_t, std::map< int32_t, std::vector< float > > > _device_gains
device_ctrl_t _device_ctrl
int _ctrl_mode
int _old_ctrl_mode

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