LaserGuiHildonWindow Class Reference

Laser GUI window for Hildon. More...

#include <lasergui_hildon.cpp>

List of all members.

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.


Detailed Description

Laser GUI window for Hildon.

Author:
Tim Niemueller

Definition at line 50 of file lasergui_hildon.cpp.


Constructor & Destructor Documentation

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().


Member Function Documentation

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.

Parameters:
event event parameters
Returns:
always false

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.

Parameters:
event event parameters
Returns:
always false

Definition at line 174 of file lasergui_hildon.cpp.

Referenced by LaserGuiHildonWindow().


The documentation for this class was generated from the following file:
Generated on Tue Feb 22 13:32:36 2011 for Fawkes API by  doxygen 1.4.7