cajun::ui_config_t Class Reference

#include <ui_config.H>

List of all members.

Public Member Functions

 ui_config_t ()
 New UI configuration.
 ~ui_config_t ()
 Destructor, does nothing.
GladeXML * init (std::string glade_file)
 Init UI and set the associated GladeXML.
gboolean gui_init ()
 Used to check/set if the GUI has be initialized.
void app_finished ()
 Set the flag that the program has finished.
gboolean is_app_finished () const
 Check if the program has signalled that it should be finished.

Public Attributes

gchar * m_object_file
xml_doc_t m_object_doc
 Filename of current object file.
xml_node_t m_object_root
 Current object file doc.
guint m_selection
 Root of current object file.
xml_node_t m_selection_node
 Current object selection index on main window.
gboolean m_has_selection
 Current node selected on main window.
GtkTreeIter m_object_selection
 Is there a current selection made.
GtkTreeIter m_sensors_selection
 Points to current object selection.
GtkTreeIter m_goals_selection
 Points to current sensor selection.
std::vector< GtkTreeIter > m_goals_selections
 Points to current (last) goal selection.

Private Attributes

gboolean m_init
 All currently selected goals.
gboolean m_gui_init
 Is the program initialized?
gboolean m_app_finished
 Is the GUI initialized?

Constructor & Destructor Documentation

ui_config_t::ui_config_t (  ) 

New UI configuration.

Sets init, gui_init, and app_finished to false.

References m_app_finished, m_gui_init, and m_init.

ui_config_t::~ui_config_t (  ) 

Destructor, does nothing.


Member Function Documentation

void ui_config_t::app_finished (  ) 

Set the flag that the program has finished.

References m_app_finished.

gboolean ui_config_t::gui_init (  ) 

Used to check/set if the GUI has be initialized.

Returns:
True if the GUI has been initialized for the first time, false if it already has been initialized.

References m_gui_init.

Referenced by on_main_map_event().

GladeXML * ui_config_t::init ( std::string  glade_file  ) 

Init UI and set the associated GladeXML.

Will load the GladeXML associated with the specified glade file and autoconnect signals.

Parameters:
glade_file Path to the glade file to connect to.
Returns:
The GladeXML representing the glade file.

References glade_xml, and m_init.

Referenced by main().

gboolean ui_config_t::is_app_finished (  )  const

Check if the program has signalled that it should be finished.

Returns:
True if the program has signalled that it should be finished.

References m_app_finished.


Member Data Documentation

Is the GUI initialized?

Referenced by app_finished(), is_app_finished(), and ui_config_t().

Points to current sensor selection.

Referenced by editgoals_selection_foreach_func(), and on_editgoals_edit_button_clicked().

std::vector<GtkTreeIter> cajun::ui_config_t::m_goals_selections
gboolean cajun::ui_config_t::m_gui_init [private]

Is the program initialized?

Referenced by gui_init(), and ui_config_t().

gboolean cajun::ui_config_t::m_init [private]

All currently selected goals.

Referenced by init(), and ui_config_t().

Filename of current object file.

Referenced by load_object_file(), new_object_file(), on_newfile_event(), on_saveasfile_event(), and on_savefile_event().

Is there a current selection made.

Referenced by on_removeobject_button_clicked(), and selection_foreach_func().

Root of current object file.

Referenced by get_selected_object(), on_newfile_event(), and selection_foreach_func().


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

Generated on Fri Apr 9 10:45:10 2010 for cbtraffic_editor by  doxygen 1.6.1