EtherCAT Graphical User Interface Code 0.0.1
EtherCAT GUI that uses different communication protocols with EtherCAT Master server.
Loading...
Searching...
No Matches
Classes | Public Types | Public Member Functions | Private Slots | Private Member Functions | Private Attributes | List of all members
EcGuiSlider Class Reference
Inheritance diagram for EcGuiSlider:
Inheritance graph
Collaboration diagram for EcGuiSlider:
Collaboration graph

Classes

struct  device_ctrl_t
 
struct  slider_map_t
 

Public Types

typedef std::shared_ptr< EcGuiSliderPtr
 

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
 
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: