Logo Search packages:      
Sourcecode: ddd version File versions  Download package

Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Member Functions | Static Private Attributes | Friends

DataDisp Class Reference

Collaboration diagram for DataDisp:
Collaboration graph

List of all members.

Public Member Functions

void create_shells ()
 DataDisp (Widget parent, Widget &data_buttons_w)

Static Public Member Functions

static int add_refresh_addr_commands (StringArray &cmds, DispNode *dn=0)
static int add_refresh_data_commands (StringArray &cmds)
static int add_refresh_user_commands (StringArray &cmds)
static void apply_theme (const string &theme, const string &pattern, Widget origin=0)
static string apply_theme_cmd (const string &theme, const string &pattern)
static void apply_themeSQ (const string &theme, const string &pattern, bool verbose=true, bool prompt=true)
static void applyThemeCB (Widget, XtPointer, XtPointer)
static void applyThemeOnAllCB (Widget, XtPointer, XtPointer)
static void applyThemeOnThisCB (Widget, XtPointer, XtPointer)
static int count_data_displays ()
static void delete_display (IntArray &display_nrs, Widget origin=0)
static void delete_display (const string &name, Widget origin=0)
static string delete_display_cmd (IntArray &display_nrs)
static string delete_display_cmd (const string &name)
static void delete_displaySQ (IntArray &display_nrs, bool verbose=true, bool prompt=true)
static void delete_user_display (const string &name)
static void deleteCB (Widget, XtPointer, XtPointer)
static void disable_display (IntArray &display_nrs, Widget origin=0)
static string disable_display_cmd (IntArray &display_nrs)
static void disable_displaySQ (IntArray &display_nrs, bool verbose=true, bool prompt=true)
static int display_number (const string &name, bool verbose=false)
static void EditDisplaysCB (Widget, XtPointer, XtPointer)
static void enable_display (IntArray &display_nrs, Widget origin=0)
static string enable_display_cmd (IntArray &display_nrs)
static void enable_displaySQ (IntArray &display_nrs, bool verbose=true, bool prompt=true)
static void get_all_clusters (IntArray &numbers)
static void get_all_display_numbers (IntArray &numbers)
static void get_display_numbers (const string &name, IntArray &numbers)
static bool get_scopes (StringArray &scopes)
static bool get_selection (std::ostream &os, bool include_position=false)
static void get_shortcut_menu (StringArray &exprs, StringArray &labels)
static bool get_state (std::ostream &os, const StringArray &scopes, int target_frame=0)
static Widget graph_form ()
static bool have_selection ()
static bool have_user_display (const string &name)
static void language_changedHP (Agent *source, void *client_data, void *call_data)
static void make_sane ()
static bool need_core_to_restore ()
static bool need_scope ()
static void new_display (const string &display_expression, BoxPoint *pos=0, string depends_on="", bool clustered=false, bool plotted=false, Widget origin=0)
static string new_display_cmd (const string &display_expression, BoxPoint *pos=0, const string &depends_on="", bool clustered=false, bool plotted=false)
static void new_displaySQ (const string &display_expression, const string &scope, BoxPoint *pos=0, const string &depends_on="", DeferMode deferred=DeferAlways, bool clustered=false, bool plotted=false, Widget origin=0, bool verbose=true, bool prompt=true)
static void new_user_display (const string &name)
static void process_addr (StringArray &answers)
static string process_displays (string &display_answer, bool &disabling_occurred)
static void process_info_display (string &info_display_answer, bool defer_deleted=true)
static void process_scope (const string &scope)
static void process_user (StringArray &answers)
static void refresh_addr (DispNode *node=0)
static void refresh_args (bool update_arg=false)
static void refresh_display (Widget origin=0)
static string refresh_display_cmd ()
static void refresh_displaySQ (Widget origin=0, bool verbose=true, bool prompt=true)
static void refresh_graph_edit (bool silent=false)
static void refresh_titles ()
static void refreshCB (Widget, XtPointer, XtPointer)
static void reset ()
static void select (DispValue *dv)
static void selectAllCB (Widget, XtPointer, XtPointer)
static void SelectionLostCB (Widget=0, XtPointer=0, XtPointer=0)
static void set_cluster_displays (bool value)
static void set_detect_aliases (bool value)
static void set_shortcut_menu (const StringArray &exprs, const StringArray &labels)
static void set_theme_manager (const ThemeManager &t)
static MString shortcut_help (Widget w)
static void toggle_theme (const string &theme, const string &pattern, Widget origin=0)
static string toggle_theme_cmd (const string &theme, const string &pattern)
static void toggle_themeSQ (const string &theme, const string &pattern, bool verbose=true, bool prompt=true)
static void toggleThemeCB (Widget, XtPointer, XtPointer)
static void unapply_theme (const string &theme, const string &pattern, Widget origin=0)
static string unapply_theme_cmd (const string &theme, const string &pattern)
static void unapply_themeSQ (const string &theme, const string &pattern, bool verbose=true, bool prompt=true)
static void unapplyThemeCB (Widget, XtPointer, XtPointer)
static void unselectAllCB (Widget, XtPointer, XtPointer)
static void update_displays (const StringArray &names, const StringArray &values, const StringArray &addrs)

Static Public Attributes

static bool bump_displays = true
static ArgFieldgraph_arg = 0
static MMDesc graph_cmd_area []
static Widget graph_cmd_w = 0
static Widget graph_edit = 0
static Widget graph_selection_w = 0
static int max_display_number = 99

Private Member Functions

 DataDisp (const DataDisp &)
DataDispoperator= (const DataDisp &)

Static Private Member Functions

static void add_aliases (IntArray &a)
static void add_shortcut_expr (const string &expr)
static void again_new_displaySQ (XtPointer client_data, XtIntervalId *id)
static int alias_display_nr (GraphNode *node)
static bool all_data_displays (IntArray &numbers)
static string builtin_user_command (const string &cmd, DispNode *dn=0)
static bool bump (RegionGraphNode *node, const BoxSize &newSize)
static void call_selection_proc (Widget, const _XtString, XEvent *, String *, Cardinal, SelectionMode mode)
static bool check_aliases ()
static void ClearOriginCB (Widget, XtPointer, XtPointer)
static void close_data_window ()
static void clusterSelectedCB (Widget, XtPointer, XtPointer)
static void CompareNodesCB (Widget, XtPointer, XtPointer)
static Widget create_display_dialog (Widget parent, const _XtString name, NewDisplayInfo &info)
static int current_cluster ()
static void delete_displayOQC (const string &answer, void *data)
static void deleteArgCB (Widget, XtPointer, XtPointer)
static void DeleteSetInfoCB (Widget, XtPointer client_data, XtPointer)
static void deletion_done (IntArray &display_nrs, bool do_prompt)
static void dependentCB (Widget, XtPointer, XtPointer)
static void dereferenceArgCB (Widget, XtPointer, XtPointer)
static void dereferenceCB (Widget, XtPointer, XtPointer)
static void dereferenceInPlaceCB (Widget, XtPointer, XtPointer)
static void disable_displayOQC (const string &answer, void *data)
static void disableCB (Widget, XtPointer, XtPointer)
static void dispCB (Widget, XtPointer, XtPointer)
static void displayArgCB (Widget, XtPointer, XtPointer)
static void DoubleClickCB (Widget, XtPointer, XtPointer)
static void enable_displayOQC (const string &answer, void *data)
static void enableCB (Widget, XtPointer, XtPointer)
static void get_node_state (std::ostream &os, DispNode *dn, bool include_position)
static bool get_state (std::ostream &os, bool restore_state, bool include_position, const StringArray &scopes, int target_frame)
static int getDispNrAtPoint (const BoxPoint &point)
static void graph_dependentAct (Widget, XEvent *, String *, Cardinal *)
static void graph_dereferenceAct (Widget, XEvent *, String *, Cardinal *)
static void graph_detailAct (Widget, XEvent *, String *, Cardinal *)
static void graph_extend_or_moveAct (Widget, XEvent *, String *, Cardinal *)
static void graph_extendAct (Widget, XEvent *, String *, Cardinal *)
static void graph_popupAct (Widget, XEvent *, String *, Cardinal *)
static void graph_rotateAct (Widget, XEvent *, String *, Cardinal *)
static void graph_select_or_moveAct (Widget, XEvent *, String *, Cardinal *)
static void graph_selectAct (Widget, XEvent *, String *, Cardinal *)
static void graph_toggle_or_moveAct (Widget, XEvent *, String *, Cardinal *)
static void graph_toggleAct (Widget, XEvent *, String *, Cardinal *)
static void hideDetailCB (Widget, XtPointer, XtPointer)
static void insert_data_node (DispNode *dn, int depend_nr, bool clustered, bool plotted)
static bool is_builtin_user_command (const string &cmd)
static int last_change_of_disp_nr (int disp_nr)
static void merge_displays (IntArray displays, bool &changed, bool &suppressed)
static bool needs_refresh (DispNode *dn)
static int new_cluster (const string &name="", bool plotted=false)
static void new_data_display_extraOQC (const string &answer, void *data)
static void new_data_displayOQC (const string &answer, void *data)
static DispNodenew_data_node (const string &name, const string &scope, const string &answer, bool plotted)
static DispNodenew_deferred_node (const string &expr, const string &scope, const BoxPoint &pos, const string &depends_on, bool clustered, bool plotted)
static void new_displayCD (Widget w, const BoxPoint &box_point=BoxPoint())
static void new_displayDCB (Widget, XtPointer, XtPointer)
static void new_user_displayOQC (const string &answer, void *data)
static DispNodenew_user_node (const string &name, const string &scope, const string &answer, bool plotted)
static void newCB (Widget, XtPointer, XtPointer)
static void no_displaysHP (void *, void *, void *)
static string numbers (IntArray &a)
static void open_data_window ()
static string pattern (const string &expr, bool shorten=true)
static void plotArgCB (Widget, XtPointer, XtPointer)
static void plotHistoryCB (Widget, XtPointer, XtPointer)
static void popup_new_argCB (Widget, XtPointer, XtPointer)
static void popup_newCB (Widget, XtPointer, XtPointer)
static void PostLayoutCB (Widget, XtPointer, XtPointer)
static void PreLayoutCB (Widget, XtPointer, XtPointer)
static void read_number_and_name (string &answer, string &nr, string &name)
static void refresh_builtin_user_displays ()
static void refresh_display_list (bool silent=false)
static void refresh_displayOQAC (StringArray &answers, const VoidArray &qu_datas, void *data)
static void refresh_displayOQC (const string &answer, void *data)
static void RefreshAddrCB (XtPointer client_data, XtIntervalId *id)
static void RefreshArgsCB (XtPointer client_data, XtIntervalId *id)
static void RefreshDisplayListCB (XtPointer, XtIntervalId *id)
static void RefreshGraphEditCB (XtPointer client_data, XtIntervalId *id)
static void reset_done (const string &answer, void *data)
static void rotate_node (DispNode *dn, bool all=false)
static void rotate_value (DispValue *dv, bool all=false)
static void rotateCB (Widget, XtPointer, XtPointer)
static void select_node (DispNode *dn, int src=0)
static void select_with_all_ancestors (GraphNode *node)
static void select_with_all_descendants (GraphNode *node)
static bool selected (DispNode *dn)
static DispNodeselected_node ()
static string selected_pattern ()
static DispValueselected_value ()
static void set_args (const BoxPoint &p=BoxPoint(), SelectionMode mode=SetSelection)
static void set_last_origin (Widget origin)
static void setCB (Widget, XtPointer, XtPointer)
static void setDCB (Widget, XtPointer, XtPointer)
static void SetDone (const string &answer, void *qu_data)
static void shortcutCB (Widget, XtPointer, XtPointer)
static void show (Widget dialog, int depth, int more)
static void showDetailCB (Widget, XtPointer, XtPointer)
static void showMoreDetailCB (Widget, XtPointer, XtPointer)
static bool sort_and_check (IntArray &a)
static void sort_last_change (IntArray &disp_nrs)
static void toggleClusterSelectedCB (Widget, XtPointer, XtPointer)
static void toggleDetailCB (Widget, XtPointer, XtPointer)
static void toggleDisableCB (Widget, XtPointer, XtPointer)
static void toggleRotateCB (Widget, XtPointer, XtPointer)
static void unclusterSelectedCB (Widget, XtPointer, XtPointer)
static int unfold_expressions (const string &display_expression, StringArray &expressions)
static bool unmerge_display (int disp_nr)
static DispValueupdate_hook (string &value)
static void UpdateDisplayEditorSelectionCB (Widget, XtPointer, XtPointer)
static void UpdateGraphEditorSelectionCB (Widget, XtPointer, XtPointer)
static void write_frame_command (std::ostream &os, int &current_frame, int target_frame)
static void write_restore_scope_command (std::ostream &os, int &current_frame, const StringArray &scopes, DispNode *dn, const bool &ok)

Static Private Attributes

static XtActionsRec actions []
static bool arg_needs_update = false
static bool cluster_displays = false
static Delaydelay
static MMDesc delete_menu []
static MMDesc detail_menu []
static bool detect_aliases = false
static DispGraphdisp_graph = 0
static MMDesc display_area []
static Widget display_list_w = 0
static Widget edit_displays_dialog_w = 0
static bool force_check_aliases = false
static Widget graph_form_w = 0
static MMDesc graph_popup []
static Widget graph_popup_w = 0
static Widget last_origin = 0
static Time last_select_time = 0
static bool lose_selection = true
static int next_ddd_display_number = 1
static int next_gdb_display_number = 1
static MMDesc node_popup []
static Widget node_popup_w = 0
static MMDesc plot_menu []
static XtIntervalId refresh_addr_timer = 0
static XtIntervalId refresh_args_timer = 0
static XtIntervalId refresh_graph_edit_timer = 0
static MMDesc rotate_menu []
static StringArray shortcut_exprs
static const int shortcut_items = 20
static StringArray shortcut_labels
static MMDesc shortcut_menu []
static MMDesc shortcut_popup1 [] = { SHORTCUT_MENU, MMEnd }
static MMDesc shortcut_popup2 [] = { SHORTCUT_MENU, MMEnd }
static Widget shortcut_popup_w = 0
static const int theme_items = 20
static MMDesc theme_menu []


class DataDispCount

Detailed Description

Definition at line 90 of file DataDisp.h.

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

Generated by  Doxygen 1.6.0   Back to index