|
rtop
|
panel data structure responsible for displaying of property values for all live processes. More...
#include <panel2.h>
Public Member Functions | |
| ProcViewPanel (int id) | |
| ProcViewPanel constructor. More... | |
| void | resolveKey (int) override |
| resolve current key with panel's key dictionary More... | |
| void | show () override |
| makes all columns associated with this panel visible More... | |
| void | hide () override |
| hides all columns associated with this panel More... | |
| void | deleteColumn () override |
| deletes Column based on item selected in active_proc_panel More... | |
| void | insertColumn () override |
| inserts Column based on item selected in active_proc_panel More... | |
| void | moveLeft () override |
| swaps column (based on selection in active_proc_panel) with left neighbour More... | |
| void | moveRight () override |
| swaps column (based on selection in active_proc_panel) with left neighbour More... | |
| void | Down () override |
| move cursor one position down More... | |
| void | Up () override |
| move cursor one position up More... | |
| void | refresh () override |
| manages column initialization and column updates More... | |
| void | setHeaderColor (int hcolor) override |
| set column header color_pair More... | |
| void | syncColors () override |
| std::vector< std::string > | displayedKeys () const |
| called by Column::read. return vector of property names currently being displayed More... | |
| std::string | sortKey () const |
| called by Column::read. returns property name to be used as sort key More... | |
Public Member Functions inherited from rtop::SimplePanelData | |
| SimplePanelData (int) | |
| SimplePanelData constructor. More... | |
| int | uUid () const |
| returns unique identifier of this object More... | |
| void | setWin (WINDOW *win_in) |
| sets reference to ncurses WINDOW associated with panel More... | |
| void | setPanel (PANEL *panel_in) |
| sets reference to ncurses PANEL associated with this panel data structure More... | |
| void | setDimensions (int h, int w) |
| set internal width, height variables corresponding to panel window dimensions More... | |
| void | setLeftNbr (SimplePanelData *) |
| set pointer to left neighbour panel More... | |
| void | setRightNbr (SimplePanelData *) |
| set pointer to right neighbour panel More... | |
| SimplePanelData * | leftNbr () |
| returns pointer to left neighbour panel More... | |
| SimplePanelData * | rightNbr () |
| returns pointer to right neighbour panel More... | |
| void | moveTo (int, int) |
| move panel window to desired x,y pos on stdscr. More... | |
| virtual void | show2 () |
| makes panel visible More... | |
| WINDOW * | window () const |
| returns pointer to ncurses WINDOW associated with panel More... | |
| virtual void | selectionOn () |
| mock More... | |
| virtual void | selectionOff () |
| mock More... | |
| virtual void | toggleEditMode () |
| mock More... | |
| virtual void | editModeOn () |
| mock More... | |
| virtual void | editModeOff () |
| mock More... | |
| virtual void | setEditingColor (int) |
| mock More... | |
| virtual void | setSelectionColor (int) |
| mock More... | |
| virtual void | setBasicColor (int) |
| mock More... | |
| virtual void | setHeader (std::string) |
| mock More... | |
| virtual void | Top () |
| mock More... | |
| virtual void | refreshItemList () |
| mock More... | |
| virtual void | refreshItemList2 (std::vector< InfoProc< std::string >> &, std::string, const std::vector< int > &, int &) |
| mock More... | |
| virtual void | moveIntoLeftNbr () |
| mock More... | |
| virtual void | moveIntoRightNbr () |
| mock More... | |
| virtual void | insertIntoLeftNbr () |
| mock More... | |
| virtual void | insertIntoRightNbr () |
| mock More... | |
| virtual void | addIntoLeftNbr () |
| mock More... | |
| virtual void | addIntoRightNbr () |
| mock More... | |
| virtual void | remove () |
| mock More... | |
Private Member Functions | |
| void | createColumn (EditPanelData< InfoProc< std::string >> &, int, int, std::string) |
| responsible for creating a new edit panel containing menu to hold property values More... | |
| void | loadColumnsFromActiveProc () |
| runs only initially to create columns to load all properties to be displayed More... | |
Private Attributes | |
| std::mutex | clms_mutex |
| int | browse_pos |
| browser position in property column. 1 corresponds to 1st item More... | |
| std::vector< EditPanelData< InfoProc< std::string > > > | columns |
| vector of EditPanel data structures, each containing list of specific propertie's value for all processes More... | |
| ProcDb * | proc_database |
| pointer reference to ProcDb object More... | |
| std::string | sort_key |
| sorting key - some process's properties name More... | |
| std::map< std::string, int > | prop_wid_dict |
| dictionary of column width assigned to each process property More... | |
| std::vector< std::string > | clm_names |
| vector of property names currently being displayed by the panel More... | |
| std::vector< int > | clm_widths |
| vector of column widths corresponding to properties being displayed More... | |
| SimplePanelData * | active_proc_panel |
| reference to panel data structure containing property names to be displayed. clm_names, clm_widths, columns remains in sync with item list in this panel More... | |
| int | y_start |
| int | header_color |
| color_pair corresponding to column headers More... | |
Friends | |
| class | XMLTree |
Additional Inherited Members | |
Protected Attributes inherited from rtop::SimplePanelData | |
| int | uuid |
| int | width |
| width and height in panel window in ncurses units. More... | |
| int | height |
| PANEL * | panel |
| panel to which the data structure is associated More... | |
| WINDOW * | win |
| window attached to the panel More... | |
| SimplePanelData * | r_next |
| pointer to panel data structures correponding to left/right neighbour of this panel More... | |
| SimplePanelData * | l_next |
| StateMachine | smKeys |
| Keys statemachine. More... | |
panel data structure responsible for displaying of property values for all live processes.
responsible for deleting/adding/moving edit panels (referred internally as columns) corresponding to each property.
Also holds information for width, height and arrangement of property columns.
|
inline |
ProcViewPanel constructor.
|
private |
|
overridevirtual |
deletes Column based on item selected in active_proc_panel
Reimplemented from rtop::SimplePanelData.
|
virtual |
called by Column::read. return vector of property names currently being displayed
Reimplemented from rtop::SimplePanelData.
|
overridevirtual |
move cursor one position down
Reimplemented from rtop::SimplePanelData.
|
overridevirtual |
hides all columns associated with this panel
Reimplemented from rtop::SimplePanelData.
|
overridevirtual |
inserts Column based on item selected in active_proc_panel
Reimplemented from rtop::SimplePanelData.
|
private |
|
overridevirtual |
swaps column (based on selection in active_proc_panel) with left neighbour
Reimplemented from rtop::SimplePanelData.
|
overridevirtual |
swaps column (based on selection in active_proc_panel) with left neighbour
Reimplemented from rtop::SimplePanelData.
|
overridevirtual |
manages column initialization and column updates
Reimplemented from rtop::SimplePanelData.
|
overridevirtual |
resolve current key with panel's key dictionary
Reimplemented from rtop::SimplePanelData.
|
overridevirtual |
set column header color_pair
Reimplemented from rtop::SimplePanelData.
|
overridevirtual |
makes all columns associated with this panel visible
Reimplemented from rtop::SimplePanelData.
|
inline |
|
overridevirtual |
Reimplemented from rtop::SimplePanelData.
|
overridevirtual |
move cursor one position up
Reimplemented from rtop::SimplePanelData.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
1.8.15