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

Classes

struct  ec_wrapper_info_t

Public Types

typedef std::shared_ptr< EcGuiWrapper > Ptr

Signals

void clientStsChanged ()

Public Member Functions

 EcGuiWrapper (QWidget *parent=nullptr)
void clear_gui_wrapper ()
void restart_gui_wrapper (ec_wrapper_info_t ec_wrapper_info)
bool get_wrapper_send_sts ()
bool get_wrapper_cmd_sts ()
void set_expert_user ()

Protected Member Functions

bool eventFilter (QObject *o, QEvent *e)

Private Slots

void DwTopLevelChanged (bool isFloating)
void click_dock_button ()
void start_stop_receive ()
void stop_receive ()
void start_stop_record ()
void stop_record ()
void receive ()
void log ()

Private Member Functions

void onSendStopBtnReleased ()
bool check_client_setup ()
void stop_wrapper_thread ()
void wrapper_thread ()
void send ()

Private Attributes

ec_wrapper_info_t _ec_wrapper_info
QDockWidget * _command_dw
QDockWidget * _pdo_sdo_dw
QDockWidget * _graphics_dw
QDockWidget * _measurement_setup_dw
std::map< std::string, bool > _floating_sts
EcGuiSlider::Ptr _ec_gui_slider
EcGuiSlider::slider_map_t _slider_map
EcGuiPdo::Ptr _ec_gui_pdo
EcGuiSdo::Ptr _ec_gui_sdo
EcGuiCmd::Ptr _ec_gui_cmd
EcLogger::Ptr _ec_logger
std::shared_ptr< std::thread > _ec_wrapper_thread
std::mutex _mutex_send
std::chrono::high_resolution_clock::time_point _loop_time
std::chrono::high_resolution_clock::time_point _start_loop_time
int _time_ms
bool _run_wrapper_thread =false
bool _send_pdo =false
QPushButton * _send_stop_btn
QTimer * _receive_timer
QTimer * _log_timer
QAction * _receive_action
QAction * _record_action
bool _receive_started
bool _record_started
uint8_t _stopping_write_counter =0
uint8_t _max_stop_write

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