#include <ui_config.H>
Public Member Functions | |
ui_config_t () | |
~ui_config_t () | |
void | init (std::string cbstat_glade_file_) |
gboolean | gui_init () |
void | app_finished () |
gboolean | is_app_finished () const |
GladeXML * | get_cbstat_xml () const |
void | set_cbstat_async_queue (GAsyncQueue *q_) |
GAsyncQueue * | get_cbstat_async_queue () |
void | set_poll_interval (guint poll_interval_) |
guint | get_poll_interval () const |
void | set_time_out (guint time_out_) |
guint | get_time_out () const |
void | set_route_mode (int mode_) |
gint | get_route_mode () const |
void | set_route_file (gchar *name_) |
const gchar * | get_route_file () |
void | set_mission_file (gchar *name_) |
const gchar * | get_mission_file () |
void | set_bot_name (const char *name_) |
const gchar * | get_bot_name () |
void | set_script_name (const char *name_) |
const gchar * | get_script_name () |
void | set_user_name (const char *name_) |
const gchar * | get_user_name () |
void | started_run () |
gboolean | ran_once () const |
void | enable_broadcast (const char *addr_and_port_) |
void | disable_broadcast () |
gboolean | broadcast_enabled () const |
const gchar * | broadcast_net () |
void | add_log_folder (gchar *folder_name_) |
void | clear_log_folders () |
const std::vector< gchar * > & | get_log_folders () const |
void | add_ui_queue (my_ui_base_t *q_) |
guint | get_ui_queue_size () const |
my_ui_base_t * | get_ui_queue (guint id_) |
void | clear_sick_check_buttons (GtkContainer *c) |
std::map< std::string, GtkWidget * > * | get_sick_check_buttons () |
void | clear_camera_check_buttons (GtkContainer *c) |
std::map< std::string, GtkWidget * > * | get_camera_check_buttons () |
void | clear_ibeo_alasca_check_buttons (GtkContainer *c) |
std::map< std::string, GtkWidget * > * | get_ibeo_alasca_check_buttons () |
void | clear_vorad_radar_check_buttons (GtkContainer *c) |
std::map< std::string, GtkWidget * > * | get_vorad_radar_check_buttons () |
Private Attributes | |
gboolean | m_init |
gboolean | m_gui_init |
gboolean | m_app_finished |
GladeXML * | m_cbstat_xml |
GAsyncQueue * | m_cbstat_async_queue |
gint | m_route_mode |
guint | m_poll_interval |
guint | m_time_out |
gchar | m_route_file [100] |
gchar | m_mission_file [100] |
gchar | m_bot_name [30] |
gchar | m_script_name [30] |
gchar | m_user_name [30] |
gboolean | m_ran_once |
gboolean | m_enable_broadcast |
gchar | m_broadcast_addr [100] |
std::vector< gchar * > | m_log_folder_list |
std::vector< my_ui_base_t * > | m_ui_queue_list |
std::map< std::string, GtkWidget * > * | m_sick_check_buttons |
std::map< std::string, GtkWidget * > * | m_camera_check_buttons |
std::map< std::string, GtkWidget * > * | m_ibeo_alasca_check_buttons |
std::map< std::string, GtkWidget * > * | m_vorad_radar_check_buttons |
cajun::ui_config_t::ui_config_t | ( | ) |
References m_app_finished, m_bot_name, m_broadcast_addr, m_camera_check_buttons, m_enable_broadcast, m_gui_init, m_ibeo_alasca_check_buttons, m_init, m_mission_file, m_poll_interval, m_ran_once, m_route_file, m_route_mode, m_script_name, m_sick_check_buttons, m_time_out, m_user_name, and m_vorad_radar_check_buttons.
cajun::ui_config_t::~ui_config_t | ( | ) |
void cajun::ui_config_t::add_log_folder | ( | gchar * | folder_name_ | ) |
References m_log_folder_list.
Referenced by copy_log_data_foreach_func().
void cajun::ui_config_t::add_ui_queue | ( | my_ui_base_t * | q_ | ) |
References m_ui_queue_list.
Referenced by main().
void cajun::ui_config_t::app_finished | ( | ) |
gboolean cajun::ui_config_t::broadcast_enabled | ( | ) | const |
References m_enable_broadcast.
Referenced by get_conf_values(), and on_LAUNCHbutton_clicked().
const gchar * cajun::ui_config_t::broadcast_net | ( | ) |
References m_broadcast_addr.
Referenced by get_conf_values(), and on_LAUNCHbutton_clicked().
void cajun::ui_config_t::clear_camera_check_buttons | ( | GtkContainer * | c | ) |
References m_camera_check_buttons.
Referenced by on_SENSORDRIVERS_button_clicked().
void cajun::ui_config_t::clear_ibeo_alasca_check_buttons | ( | GtkContainer * | c | ) |
References m_ibeo_alasca_check_buttons.
Referenced by on_SENSORDRIVERS_button_clicked().
void cajun::ui_config_t::clear_log_folders | ( | ) |
References m_log_folder_list.
Referenced by on_LOGDATACOPYSTART_button_clicked().
void cajun::ui_config_t::clear_sick_check_buttons | ( | GtkContainer * | c | ) |
References m_sick_check_buttons.
Referenced by on_SENSORDRIVERS_button_clicked().
void cajun::ui_config_t::clear_vorad_radar_check_buttons | ( | GtkContainer * | c | ) |
References m_vorad_radar_check_buttons.
Referenced by on_SENSORDRIVERS_button_clicked().
void cajun::ui_config_t::disable_broadcast | ( | ) |
References m_enable_broadcast.
Referenced by init_setup_window(), and on_SETUP_ok_clicked().
void cajun::ui_config_t::enable_broadcast | ( | const char * | addr_and_port_ | ) |
References m_broadcast_addr, and m_enable_broadcast.
Referenced by init_setup_window(), and on_SETUP_ok_clicked().
const gchar * cajun::ui_config_t::get_bot_name | ( | ) |
References m_bot_name.
Referenced by call_script(), and on_SETUP_ok_clicked().
std::map<std::string, GtkWidget *>* cajun::ui_config_t::get_camera_check_buttons | ( | ) | [inline] |
References m_camera_check_buttons.
Referenced by on_SENSORDRIVERS_button_clicked(), and on_SENSORDRIVERSAPPLY_button_clicked().
GAsyncQueue * cajun::ui_config_t::get_cbstat_async_queue | ( | ) |
References m_cbstat_async_queue.
Referenced by gui_queue_watcher(), and push_widgets().
GladeXML * cajun::ui_config_t::get_cbstat_xml | ( | ) | const |
References m_cbstat_xml.
Referenced by main().
std::map<std::string, GtkWidget *>* cajun::ui_config_t::get_ibeo_alasca_check_buttons | ( | ) | [inline] |
References m_ibeo_alasca_check_buttons.
Referenced by on_SENSORDRIVERS_button_clicked(), and on_SENSORDRIVERSAPPLY_button_clicked().
const std::vector< gchar * > & cajun::ui_config_t::get_log_folders | ( | ) | const |
References m_log_folder_list.
Referenced by on_LOGDATACOPYSTART_button_clicked().
const gchar * cajun::ui_config_t::get_mission_file | ( | ) |
References m_mission_file.
Referenced by on_LAUNCHbutton_clicked(), on_MDF_button_clicked(), and on_SETUP_ok_clicked().
guint cajun::ui_config_t::get_poll_interval | ( | ) | const |
References m_poll_interval.
Referenced by init_main_window().
const gchar * cajun::ui_config_t::get_route_file | ( | ) |
References m_route_file.
Referenced by on_LAUNCHbutton_clicked(), on_RNDF_button_clicked(), on_SETUP_ok_clicked(), and on_VISUALIZERbutton_clicked().
gint cajun::ui_config_t::get_route_mode | ( | ) | const |
References m_route_mode.
Referenced by on_VISUALIZERbutton_clicked().
const gchar * cajun::ui_config_t::get_script_name | ( | ) |
References m_script_name.
Referenced by call_script(), on_LAUNCHbutton_clicked(), and on_SETUP_ok_clicked().
std::map<std::string, GtkWidget *>* cajun::ui_config_t::get_sick_check_buttons | ( | ) | [inline] |
References m_sick_check_buttons.
Referenced by on_SENSORDRIVERS_button_clicked(), and on_SENSORDRIVERSAPPLY_button_clicked().
guint cajun::ui_config_t::get_time_out | ( | ) | const |
References m_time_out.
my_ui_base_t * cajun::ui_config_t::get_ui_queue | ( | guint | id_ | ) |
References m_ui_queue_list.
Referenced by fill_tree_view(), get_cbmesg(), init_main_window(), and print_queue().
guint cajun::ui_config_t::get_ui_queue_size | ( | ) | const |
References m_ui_queue_list.
Referenced by fill_tree_view(), and init_main_window().
const gchar * cajun::ui_config_t::get_user_name | ( | ) |
References m_user_name.
Referenced by call_script(), and on_SETUP_ok_clicked().
std::map<std::string, GtkWidget *>* cajun::ui_config_t::get_vorad_radar_check_buttons | ( | ) | [inline] |
Referenced by on_SENSORDRIVERS_button_clicked(), and on_SENSORDRIVERSAPPLY_button_clicked().
gboolean cajun::ui_config_t::gui_init | ( | ) |
References m_gui_init.
Referenced by on_SETUPwindow_map_event().
void cajun::ui_config_t::init | ( | std::string | cbstat_glade_file_ | ) |
References m_cbstat_xml, and m_init.
Referenced by main().
gboolean cajun::ui_config_t::is_app_finished | ( | ) | const |
References m_app_finished.
Referenced by gui_queue_watcher(), and on_COMPILECODEEXECUTE_button_clicked().
gboolean cajun::ui_config_t::ran_once | ( | ) | const |
References m_ran_once.
Referenced by on_KILLbutton_clicked().
void cajun::ui_config_t::set_bot_name | ( | const char * | name_ | ) |
References m_bot_name.
Referenced by init_setup_window().
void cajun::ui_config_t::set_cbstat_async_queue | ( | GAsyncQueue * | q_ | ) |
References m_cbstat_async_queue.
Referenced by main().
void cajun::ui_config_t::set_mission_file | ( | gchar * | name_ | ) |
References m_mission_file.
Referenced by on_MDF_button_clicked().
void cajun::ui_config_t::set_poll_interval | ( | guint | poll_interval_ | ) |
References m_poll_interval.
void cajun::ui_config_t::set_route_file | ( | gchar * | name_ | ) |
References m_route_file.
Referenced by on_RNDF_button_clicked().
void cajun::ui_config_t::set_route_mode | ( | int | mode_ | ) |
References m_route_mode.
Referenced by on_ROUTEFILECONTINUE_button_clicked(), and on_SETUP_ok_clicked().
void cajun::ui_config_t::set_script_name | ( | const char * | name_ | ) |
References m_script_name.
Referenced by init_setup_window(), on_BOTMODE_select_changed(), on_ROUTEFILECONTINUE_button_clicked(), and on_SETUP_ok_clicked().
void cajun::ui_config_t::set_time_out | ( | guint | time_out_ | ) |
References m_time_out.
void cajun::ui_config_t::set_user_name | ( | const char * | name_ | ) |
References m_user_name.
Referenced by init_setup_window(), on_ROUTEFILECONTINUE_button_clicked(), and on_SETUP_ok_clicked().
void cajun::ui_config_t::started_run | ( | ) |
References m_ran_once.
Referenced by on_LAUNCHbutton_clicked().
gboolean cajun::ui_config_t::m_app_finished [private] |
Referenced by app_finished(), is_app_finished(), and ui_config_t().
gchar cajun::ui_config_t::m_bot_name[30] [private] |
Referenced by get_bot_name(), set_bot_name(), and ui_config_t().
gchar cajun::ui_config_t::m_broadcast_addr[100] [private] |
Referenced by broadcast_net(), enable_broadcast(), and ui_config_t().
std::map<std::string, GtkWidget *>* cajun::ui_config_t::m_camera_check_buttons [private] |
Referenced by clear_camera_check_buttons(), get_camera_check_buttons(), and ui_config_t().
GAsyncQueue* cajun::ui_config_t::m_cbstat_async_queue [private] |
Referenced by get_cbstat_async_queue(), and set_cbstat_async_queue().
GladeXML* cajun::ui_config_t::m_cbstat_xml [private] |
Referenced by get_cbstat_xml(), and init().
gboolean cajun::ui_config_t::m_enable_broadcast [private] |
Referenced by broadcast_enabled(), disable_broadcast(), enable_broadcast(), and ui_config_t().
gboolean cajun::ui_config_t::m_gui_init [private] |
Referenced by gui_init(), and ui_config_t().
std::map<std::string, GtkWidget *>* cajun::ui_config_t::m_ibeo_alasca_check_buttons [private] |
Referenced by clear_ibeo_alasca_check_buttons(), get_ibeo_alasca_check_buttons(), and ui_config_t().
gboolean cajun::ui_config_t::m_init [private] |
Referenced by init(), and ui_config_t().
std::vector<gchar *> cajun::ui_config_t::m_log_folder_list [private] |
Referenced by add_log_folder(), clear_log_folders(), and get_log_folders().
gchar cajun::ui_config_t::m_mission_file[100] [private] |
Referenced by get_mission_file(), set_mission_file(), and ui_config_t().
guint cajun::ui_config_t::m_poll_interval [private] |
Referenced by get_poll_interval(), set_poll_interval(), and ui_config_t().
gboolean cajun::ui_config_t::m_ran_once [private] |
Referenced by ran_once(), started_run(), and ui_config_t().
gchar cajun::ui_config_t::m_route_file[100] [private] |
Referenced by get_route_file(), set_route_file(), and ui_config_t().
gint cajun::ui_config_t::m_route_mode [private] |
Referenced by get_route_mode(), set_route_mode(), and ui_config_t().
gchar cajun::ui_config_t::m_script_name[30] [private] |
Referenced by get_script_name(), set_script_name(), and ui_config_t().
std::map<std::string, GtkWidget *>* cajun::ui_config_t::m_sick_check_buttons [private] |
Referenced by clear_sick_check_buttons(), get_sick_check_buttons(), and ui_config_t().
guint cajun::ui_config_t::m_time_out [private] |
Referenced by get_time_out(), set_time_out(), and ui_config_t().
std::vector<my_ui_base_t *> cajun::ui_config_t::m_ui_queue_list [private] |
Referenced by add_ui_queue(), get_ui_queue(), and get_ui_queue_size().
gchar cajun::ui_config_t::m_user_name[30] [private] |
Referenced by get_user_name(), set_user_name(), and ui_config_t().
std::map<std::string, GtkWidget *>* cajun::ui_config_t::m_vorad_radar_check_buttons [private] |
Referenced by clear_vorad_radar_check_buttons(), and ui_config_t().