11 extern src::severity_logger<severity_level>
lg;
19 class SimplePanelData;
20 class ColumnsPanelData;
91 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::registerFunc_Screen::";
94 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"<-- MemFuncPDict::registerFunc_Screen::";
102 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::registerFunc_View::";
105 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"<-- MemFuncPDict::registerFunc_View::";
113 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::registerFunc_SPData::";
116 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"<-- MemFuncPDict::registerFunc_SPData::";
124 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::registerFunc_SM::";
127 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"<-- MemFuncPDict::registerFunc_SM::";
135 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::registerFunc_Columns::";
138 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"<-- MemFuncPDict::registerFunc_Columns::";
146 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::registerFunc_PInfo::";
149 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"<-- MemFuncPDict::registerFunc_PInfo::";
264 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::invoke-screen::";
266 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"<-- MemFuncPDict::invoke-screeni::";
277 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::invoke-view::";
279 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"<-- MemFuncPDict::invoke-view::";
290 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::invoke-panel::";
292 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"<-- MemFuncPDict::invoke-panel::";
303 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::invoke-pinfo::";
305 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::invoke-pinfo::";
317 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::invoke-clm::";
319 BOOST_LOG_SEV(
lg, debug)<<
log_spacer<<
"--> MemFuncPDict::invoke-clm::";
void addProcInfo(int, ProcInfo *)
adds ProcInfo object pointer to private object_type dictionary
ProcInfo * getProcInfo(int)
returns pointer to ProcInfo object of given uuid
ScreenManager * getScreen(int)
returns pointer to ScreenManager object of given uuid
std::map< int, StateMachine * > sm_objs
std::map< int, Columns * > clm_objs
void addColumn(int, Columns *)
adds Columns object pointer to private object_type dictionary
stores references to UI and non-UI objects and their callbacks.
std::map< std::string, void(ProcInfo::*)()> funcp_void_pinfo
src::severity_logger< severity_level > lg
void addDatabase(int, ProcDb *)
adds ProcDb object pointer to private object_type dictionary
data structure that hold property values for processes. contains facilities to enable their proper ac...
std::map< int, ProcDb * > db_objs
std::map< std::string, void(View::*)()> funcp_void_view
StateMachine * getSm(int)
returns pointer to StateMachine object of given uuid
2nd level UI object. Responsible for switching between panels and resolving key input
void addSm(int, StateMachine *)
adds StateMachine object pointer to private object_type dictionary
SimplePanelData * getPanel(int)
returns pointer to SimplePanelData object of given uuid
std::map< int, ProcInfo * > pinfo_objs
void delSpace()
deletes one white-space from white-space string corresponding to invoking thread
std::map< std::string, void(StateMachine::*)()> funcp_void_sm
void addSpace()
adds one white-space to white-space string corresponding to invoking thread
void addScreen(int, ScreenManager *)
adds ScreenManager object pointer to private object_type dictionary
Top Level UI object. Responsible to switching between views and capturing key input.
Columns * getColumn(int)
returns pointer to Columns object of given uuid
std::map< int, ScreenManager * > screen_objs
enables indentation of logs for easy viewing
void registerFunc(std::string func_name, void(ScreenManager::*)())
registers ScreenManager class member methods
std::map< std::string, void(Columns::*)()> funcp_void_clms
Base class in heirarchy of UI objects responsible to storing the content associated with a panel and ...
void addView(int, View *)
adds ScreenManager object pointer to private object_type dictionary
interfaces with linux API to read process information and update ProcDb with it
ProcDb * getDatabase(int)
returns pointer to ProcDb object of given uuid
void addPanel(int, SimplePanelData *)
adds SimplePanelData object pointer to private object_type dictionary
statemachine that uses integer corresponding to object uuids to represent states
void invoke(Action)
invokes member method based on supplied action using object_uuid and method_name
std::map< int, View * > view_objs
View * getView(int)
returns pointer to View object of given uuid
std::map< int, SimplePanelData * > panel_objs
std::map< std::string, void(SimplePanelData::*)()> funcp_void_panel
std::map< std::string, void(ScreenManager::*)()> funcp_void_screen
responsible for managing the flow of information between ProcViewPanel, ProcDb and ProcInfo