LaserGuiGtkWindow Class Reference
Laser GUI window for Gtkmm. More...
#include <lasergui.cpp>
Public Member Functions | |
| LaserGuiGtkWindow (BaseObjectType *cobject, const Glib::RefPtr< Gnome::Glade::Xml > &refxml) | |
| Constructor for Glademm. | |
Protected Member Functions | |
| virtual void | on_connection_clicked () |
| Event handler for connection button. | |
| virtual void | on_connect () |
| Event handler for connected event. | |
| virtual void | on_disconnect () |
| Event handler for disconnected event. | |
| void | on_rotation_toggled () |
| Event handler for rotation button. | |
| void | on_stop_toggled () |
| Event handler for stop button. | |
| void | on_resolution_toggled () |
| Event handler for resolution button. | |
| void | on_legtracker_toggled () |
| Event handler for legtracker button. | |
| void | on_trimvals_toggled () |
| Event handler for trim button. | |
| void | on_exit_clicked () |
| Event handler for exit button. | |
Detailed Description
Laser GUI window for Gtkmm.
Definition at line 58 of file lasergui.cpp.
Constructor & Destructor Documentation
| LaserGuiGtkWindow::LaserGuiGtkWindow | ( | BaseObjectType * | cobject, | |
| const Glib::RefPtr< Gnome::Glade::Xml > & | refxml | |||
| ) | [inline] |
Constructor for Glademm.
- Parameters:
-
cobject C base object refxml reference to Glade's Xml parser
Definition at line 65 of file lasergui.cpp.
References LaserDrawingArea::MODE_HULL, LaserDrawingArea::MODE_LINES, LaserDrawingArea::MODE_POINTS, on_connect(), on_connection_clicked(), on_disconnect(), on_exit_clicked(), on_legtracker_toggled(), on_resolution_toggled(), on_rotation_toggled(), on_stop_toggled(), on_trimvals_toggled(), LaserDrawingArea::set_draw_mode(), LaserDrawingArea::set_robot_drawer(), fawkes::ConnectionDispatcher::signal_connected(), fawkes::ConnectionDispatcher::signal_disconnected(), LaserDrawingArea::zoom_in(), and LaserDrawingArea::zoom_out().
Member Function Documentation
| virtual void LaserGuiGtkWindow::on_connect | ( | ) | [inline, protected, virtual] |
Event handler for connected event.
Definition at line 131 of file lasergui.cpp.
References fawkes::BlackBoard::close(), fawkes::ConnectionDispatcher::get_client(), on_legtracker_toggled(), fawkes::BlackBoard::open_for_reading(), fawkes::BlackBoard::register_listener(), LaserDrawingArea::set_laser360_if(), LaserDrawingArea::set_laser720_if(), LaserDrawingArea::set_line_if(), and fawkes::InterfaceDispatcher::signal_data_changed().
Referenced by LaserGuiGtkWindow().
| virtual void LaserGuiGtkWindow::on_connection_clicked | ( | ) | [inline, protected, virtual] |
Event handler for connection button.
Definition at line 119 of file lasergui.cpp.
References fawkes::FawkesNetworkClient::connected(), fawkes::FawkesNetworkClient::disconnect(), and fawkes::ConnectionDispatcher::get_client().
Referenced by LaserGuiGtkWindow().
| virtual void LaserGuiGtkWindow::on_disconnect | ( | ) | [inline, protected, virtual] |
Event handler for disconnected event.
Definition at line 197 of file lasergui.cpp.
References fawkes::BlackBoard::close(), LaserDrawingArea::reset_laser_ifs(), and LaserDrawingArea::set_line_if().
Referenced by LaserGuiGtkWindow().
| void LaserGuiGtkWindow::on_exit_clicked | ( | ) | [inline, protected] |
Event handler for exit button.
Definition at line 442 of file lasergui.cpp.
Referenced by LaserGuiGtkWindow().
| void LaserGuiGtkWindow::on_legtracker_toggled | ( | ) | [inline, protected] |
Event handler for legtracker button.
Definition at line 322 of file lasergui.cpp.
References fawkes::BlackBoard::close(), fawkes::BlackBoard::open_for_reading(), and LaserDrawingArea::set_objpos_if().
Referenced by LaserGuiGtkWindow(), and on_connect().
| void LaserGuiGtkWindow::on_resolution_toggled | ( | ) | [inline, protected] |
Event handler for resolution button.
Definition at line 290 of file lasergui.cpp.
References fawkes::BlackBoard::close(), fawkes::BlackBoard::open_for_reading(), fawkes::Exception::print_trace(), fawkes::BlackBoard::register_listener(), LaserDrawingArea::set_laser360_if(), LaserDrawingArea::set_laser720_if(), and fawkes::BlackBoard::unregister_listener().
Referenced by LaserGuiGtkWindow().
| void LaserGuiGtkWindow::on_rotation_toggled | ( | ) | [inline, protected] |
Event handler for rotation button.
Definition at line 273 of file lasergui.cpp.
References LaserDrawingArea::set_rotation().
Referenced by LaserGuiGtkWindow().
| void LaserGuiGtkWindow::on_stop_toggled | ( | ) | [inline, protected] |
Event handler for stop button.
Definition at line 284 of file lasergui.cpp.
References LaserDrawingArea::toggle_break_drawing().
Referenced by LaserGuiGtkWindow().
| void LaserGuiGtkWindow::on_trimvals_toggled | ( | ) | [inline, protected] |
Event handler for trim button.
Definition at line 432 of file lasergui.cpp.
References LaserDrawingArea::set_resolution().
Referenced by LaserGuiGtkWindow().
The documentation for this class was generated from the following file:
- src/tools/lasergui/lasergui.cpp

