rtop
|
stores references to UI and non-UI objects and their callbacks. More...
#include <mem_func.h>
Public Member Functions | |
void | registerFunc (std::string func_name, void(ScreenManager::*)()) |
registers ScreenManager class member methods More... | |
void | registerFunc (std::string func_name, void(View::*)()) |
registers View class member methods More... | |
void | registerFunc (std::string func_name, void(SimplePanelData::*)()) |
registers SimplePanelData class member methods More... | |
void | registerFunc (std::string func_name, void(StateMachine::*)()) |
registers StateMachine class member methods More... | |
void | registerFunc (std::string func_name, void(ProcInfo::*)()) |
registers ProcInfo class member methods More... | |
void | registerFunc (std::string func_name, void(Columns::*)()) |
registers Columns class member methods More... | |
void | invoke (Action) |
invokes member method based on supplied action using object_uuid and method_name More... | |
void | invoke (Action, ScreenManager *) |
invokes ScreenManager member method based on supplied action More... | |
void | invoke (Action, View *) |
invokes View member method based on supplied action More... | |
void | invoke (Action, SimplePanelData *) |
invokes SimplePanelData member method based on supplied action More... | |
void | invoke (Action, ProcInfo *) |
invokes ProcInfo member method based on supplied action More... | |
void | invoke (Action, Columns *) |
invokes Columns member method based on supplied action More... | |
View * | getView (int) |
returns pointer to View object of given uuid More... | |
ScreenManager * | getScreen (int) |
returns pointer to ScreenManager object of given uuid More... | |
SimplePanelData * | getPanel (int) |
returns pointer to SimplePanelData object of given uuid More... | |
StateMachine * | getSm (int) |
returns pointer to StateMachine object of given uuid More... | |
Columns * | getColumn (int) |
returns pointer to Columns object of given uuid More... | |
ProcDb * | getDatabase (int) |
returns pointer to ProcDb object of given uuid More... | |
ProcInfo * | getProcInfo (int) |
returns pointer to ProcInfo object of given uuid More... | |
void | addScreen (int, ScreenManager *) |
adds ScreenManager object pointer to private object_type dictionary More... | |
void | addView (int, View *) |
adds ScreenManager object pointer to private object_type dictionary More... | |
void | addPanel (int, SimplePanelData *) |
adds SimplePanelData object pointer to private object_type dictionary More... | |
void | addSm (int, StateMachine *) |
adds StateMachine object pointer to private object_type dictionary More... | |
void | addDatabase (int, ProcDb *) |
adds ProcDb object pointer to private object_type dictionary More... | |
void | addProcInfo (int, ProcInfo *) |
adds ProcInfo object pointer to private object_type dictionary More... | |
void | addColumn (int, Columns *) |
adds Columns object pointer to private object_type dictionary More... | |
Private Attributes | |
std::map< int, ScreenManager * > | screen_objs |
std::map< int, View * > | view_objs |
std::map< int, SimplePanelData * > | panel_objs |
std::map< int, StateMachine * > | sm_objs |
std::map< int, ProcDb * > | db_objs |
std::map< int, ProcInfo * > | pinfo_objs |
std::map< int, Columns * > | clm_objs |
std::map< std::string, void(ScreenManager::*)()> | funcp_void_screen |
std::map< std::string, void(View::*)()> | funcp_void_view |
std::map< std::string, void(SimplePanelData::*)()> | funcp_void_panel |
std::map< std::string, void(StateMachine::*)()> | funcp_void_sm |
std::map< std::string, void(ProcInfo::*)()> | funcp_void_pinfo |
std::map< std::string, void(Columns::*)()> | funcp_void_clms |
stores references to UI and non-UI objects and their callbacks.
provides methods for registering, accessing objects and registering and invoking object method callbacks of
various types used in rtop. Currently, only methods with following signatures are supported
void(Classname::method_name*)()
Definition at line 31 of file mem_func.h.
void rtop::MemFuncPDict::addColumn | ( | int | uuid, |
Columns * | clm | ||
) |
adds Columns object pointer to private object_type dictionary
Definition at line 241 of file mem_func.h.
void rtop::MemFuncPDict::addDatabase | ( | int | uuid, |
ProcDb * | db | ||
) |
adds ProcDb object pointer to private object_type dictionary
Definition at line 253 of file mem_func.h.
void rtop::MemFuncPDict::addPanel | ( | int | uuid, |
SimplePanelData * | panel | ||
) |
adds SimplePanelData object pointer to private object_type dictionary
Definition at line 229 of file mem_func.h.
void rtop::MemFuncPDict::addProcInfo | ( | int | uuid, |
ProcInfo * | pinfo | ||
) |
adds ProcInfo object pointer to private object_type dictionary
Definition at line 247 of file mem_func.h.
void rtop::MemFuncPDict::addScreen | ( | int | uuid, |
ScreenManager * | scr | ||
) |
adds ScreenManager object pointer to private object_type dictionary
Definition at line 217 of file mem_func.h.
void rtop::MemFuncPDict::addSm | ( | int | uuid, |
StateMachine * | sm | ||
) |
adds StateMachine object pointer to private object_type dictionary
Definition at line 235 of file mem_func.h.
void rtop::MemFuncPDict::addView | ( | int | uuid, |
View * | view | ||
) |
adds ScreenManager object pointer to private object_type dictionary
Definition at line 223 of file mem_func.h.
Columns * rtop::MemFuncPDict::getColumn | ( | int | uuid = 0 | ) |
returns pointer to Columns object of given uuid
Definition at line 172 of file mem_func.h.
ProcDb * rtop::MemFuncPDict::getDatabase | ( | int | uuid = 0 | ) |
returns pointer to ProcDb object of given uuid
Definition at line 163 of file mem_func.h.
SimplePanelData * rtop::MemFuncPDict::getPanel | ( | int | uuid | ) |
returns pointer to SimplePanelData object of given uuid
Definition at line 199 of file mem_func.h.
ProcInfo * rtop::MemFuncPDict::getProcInfo | ( | int | uuid = 0 | ) |
returns pointer to ProcInfo object of given uuid
Definition at line 181 of file mem_func.h.
ScreenManager * rtop::MemFuncPDict::getScreen | ( | int | uuid | ) |
returns pointer to ScreenManager object of given uuid
Definition at line 154 of file mem_func.h.
StateMachine * rtop::MemFuncPDict::getSm | ( | int | uuid | ) |
returns pointer to StateMachine object of given uuid
Definition at line 208 of file mem_func.h.
View * rtop::MemFuncPDict::getView | ( | int | uuid | ) |
returns pointer to View object of given uuid
Definition at line 190 of file mem_func.h.
void rtop::MemFuncPDict::invoke | ( | Action | action | ) |
invokes member method based on supplied action using object_uuid and method_name
Definition at line 325 of file mem_func.h.
void rtop::MemFuncPDict::invoke | ( | Action | action, |
ScreenManager * | pscreen | ||
) |
invokes ScreenManager member method based on supplied action
Definition at line 259 of file mem_func.h.
invokes View member method based on supplied action
Definition at line 272 of file mem_func.h.
void rtop::MemFuncPDict::invoke | ( | Action | action, |
SimplePanelData * | ppanel | ||
) |
invokes SimplePanelData member method based on supplied action
Definition at line 285 of file mem_func.h.
invokes ProcInfo member method based on supplied action
Definition at line 298 of file mem_func.h.
invokes Columns member method based on supplied action
Definition at line 311 of file mem_func.h.
void rtop::MemFuncPDict::registerFunc | ( | std::string | func_name, |
void(ScreenManager::*)() | pfunc | ||
) |
registers ScreenManager class member methods
Definition at line 88 of file mem_func.h.
void rtop::MemFuncPDict::registerFunc | ( | std::string | func_name, |
void(View::*)() | pfunc | ||
) |
registers View class member methods
Definition at line 99 of file mem_func.h.
void rtop::MemFuncPDict::registerFunc | ( | std::string | func_name, |
void(SimplePanelData::*)() | pfunc | ||
) |
registers SimplePanelData class member methods
Definition at line 110 of file mem_func.h.
void rtop::MemFuncPDict::registerFunc | ( | std::string | func_name, |
void(StateMachine::*)() | pfunc | ||
) |
registers StateMachine class member methods
Definition at line 121 of file mem_func.h.
void rtop::MemFuncPDict::registerFunc | ( | std::string | func_name, |
void(ProcInfo::*)() | pfunc | ||
) |
registers ProcInfo class member methods
Definition at line 143 of file mem_func.h.
void rtop::MemFuncPDict::registerFunc | ( | std::string | func_name, |
void(Columns::*)() | pfunc | ||
) |
registers Columns class member methods
Definition at line 132 of file mem_func.h.
|
private |
Definition at line 40 of file mem_func.h.
|
private |
Definition at line 38 of file mem_func.h.
|
private |
Definition at line 47 of file mem_func.h.
|
private |
Definition at line 44 of file mem_func.h.
|
private |
Definition at line 46 of file mem_func.h.
|
private |
Definition at line 42 of file mem_func.h.
|
private |
Definition at line 45 of file mem_func.h.
|
private |
Definition at line 43 of file mem_func.h.
|
private |
Definition at line 36 of file mem_func.h.
|
private |
Definition at line 39 of file mem_func.h.
|
private |
Definition at line 34 of file mem_func.h.
|
private |
Definition at line 37 of file mem_func.h.
|
private |
Definition at line 35 of file mem_func.h.