LaserGuiGtkWindow Class Reference

Laser GUI window for Gtkmm. More...

#include <lasergui.cpp>

List of all members.

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.

Author:
Tim Niemueller

Definition at line 59 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 66 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 132 of file lasergui.cpp.

References fawkes::ConnectionDispatcher::get_client(), on_legtracker_toggled(), fawkes::BlackBoard::open_for_reading(), fawkes::BlackBoard::open_for_writing(), fawkes::BlackBoard::register_listener(), LaserDrawingArea::set_laser360_if(), LaserDrawingArea::set_laser720_if(), LaserDrawingArea::set_line_if(), LaserDrawingArea::set_visdisp_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 120 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 203 of file lasergui.cpp.

References fawkes::BlackBoard::close(), LaserDrawingArea::reset_laser_ifs(), LaserDrawingArea::set_line_if(), and LaserDrawingArea::set_visdisp_if().

Referenced by LaserGuiGtkWindow().

void LaserGuiGtkWindow::on_exit_clicked (  )  [inline, protected]

Event handler for exit button.

Definition at line 451 of file lasergui.cpp.

Referenced by LaserGuiGtkWindow().

void LaserGuiGtkWindow::on_legtracker_toggled (  )  [inline, protected]

Event handler for legtracker button.

Definition at line 331 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 299 of file lasergui.cpp.

References fawkes::BlackBoard::close(), fawkes::BlackBoard::open_for_reading(), fawkes::Exception::print_trace(), fawkes::BlackBoard::register_listener(), fawkes::InterfaceDispatcher::signal_data_changed(), and fawkes::BlackBoard::unregister_listener().

Referenced by LaserGuiGtkWindow().

void LaserGuiGtkWindow::on_rotation_toggled (  )  [inline, protected]

Event handler for rotation button.

Definition at line 282 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 293 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 441 of file lasergui.cpp.

References LaserDrawingArea::set_resolution().

Referenced by LaserGuiGtkWindow().


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