#include <lasergui_hildon.cpp>
Public Member Functions | |
LaserGuiHildonWindow () | |
Constructor. | |
~LaserGuiHildonWindow () | |
Destructor. | |
Protected Member Functions | |
virtual bool | on_key_pressed (GdkEventKey *event) |
Event handler for key pressed events. | |
virtual bool | on_window_state_event (GdkEventWindowState *event) |
Event handler for window state change events. | |
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_resolution_toggled () |
Event handler for rotation button. |
Definition at line 50 of file lasergui_hildon.cpp.
LaserGuiHildonWindow::LaserGuiHildonWindow | ( | ) | [inline] |
Constructor.
Definition at line 54 of file lasergui_hildon.cpp.
References LaserDrawingArea::MODE_HULL, LaserDrawingArea::MODE_LINES, LaserDrawingArea::MODE_POINTS, on_connect(), on_connection_clicked(), on_disconnect(), on_key_pressed(), on_resolution_toggled(), on_rotation_toggled(), on_window_state_event(), LaserDrawingArea::set_draw_mode(), LaserDrawingArea::set_robot_drawer(), fawkes::ConnectionDispatcher::signal_connected(), fawkes::ConnectionDispatcher::signal_disconnected(), LaserDrawingArea::zoom_in(), and LaserDrawingArea::zoom_out().
LaserGuiHildonWindow::~LaserGuiHildonWindow | ( | ) | [inline] |
Destructor.
Definition at line 131 of file lasergui_hildon.cpp.
References fawkes::BlackBoard::close(), and LaserDrawingArea::set_laser360_if().
virtual void LaserGuiHildonWindow::on_connect | ( | ) | [inline, protected, virtual] |
Event handler for connected event.
Definition at line 196 of file lasergui_hildon.cpp.
References fawkes::BlackBoard::close(), fawkes::ConnectionDispatcher::get_client(), fawkes::BlackBoard::open_for_reading(), fawkes::Exception::print_trace(), fawkes::BlackBoard::register_listener(), LaserDrawingArea::set_laser360_if(), fawkes::InterfaceDispatcher::signal_data_changed(), and fawkes::InterfaceDispatcher::signal_writer_removed().
Referenced by LaserGuiHildonWindow().
void LaserGuiHildonWindow::on_connection_clicked | ( | ) | [inline, protected] |
Event handler for connection button.
Definition at line 185 of file lasergui_hildon.cpp.
References fawkes::FawkesNetworkClient::connected(), fawkes::FawkesNetworkClient::disconnect(), and fawkes::ConnectionDispatcher::get_client().
Referenced by LaserGuiHildonWindow().
virtual void LaserGuiHildonWindow::on_disconnect | ( | ) | [inline, protected, virtual] |
Event handler for disconnected event.
Definition at line 232 of file lasergui_hildon.cpp.
References fawkes::BlackBoard::close(), and LaserDrawingArea::set_laser360_if().
Referenced by LaserGuiHildonWindow().
virtual bool LaserGuiHildonWindow::on_key_pressed | ( | GdkEventKey * | event | ) | [inline, protected, virtual] |
Event handler for key pressed events.
event | event parameters |
Definition at line 146 of file lasergui_hildon.cpp.
References LaserDrawingArea::zoom_in(), and LaserDrawingArea::zoom_out().
Referenced by LaserGuiHildonWindow().
void LaserGuiHildonWindow::on_resolution_toggled | ( | ) | [inline, protected] |
Event handler for rotation button.
Definition at line 263 of file lasergui_hildon.cpp.
References LaserDrawingArea::set_resolution().
Referenced by LaserGuiHildonWindow().
void LaserGuiHildonWindow::on_rotation_toggled | ( | ) | [inline, protected] |
Event handler for rotation button.
Definition at line 253 of file lasergui_hildon.cpp.
References LaserDrawingArea::set_rotation().
Referenced by LaserGuiHildonWindow().
virtual bool LaserGuiHildonWindow::on_window_state_event | ( | GdkEventWindowState * | event | ) | [inline, protected, virtual] |
Event handler for window state change events.
event | event parameters |
Definition at line 174 of file lasergui_hildon.cpp.
Referenced by LaserGuiHildonWindow().