|
rtop
|
holds a dictionary of key values and corresponding Action list. Provides API to resolve the keys More...
#include <key_dict.h>
Public Member Functions | |
| KeyDict (int id) | |
| KeyDict () | |
| void | setId (int id) |
| int | getId () const |
| void | resolve (int) |
| resolves the key i.e. based on key input invokes the associated list of Action objects More... | |
| void | resolve (int, ScreenManager *) |
| resolves keys with Action lists corresponding to self More... | |
| void | resolve (int, View *) |
| resolves keys with action list corresponding to self. More... | |
| void | resolve (int, SimplePanelData *) |
| resolves keys with Action list corresponding to self More... | |
| void | addKeyActions (int, std::vector< Action > &) |
| add key and corresponding action list to private key-action_list dictionary More... | |
Private Attributes | |
| int | key_dict_uuid |
| std::map< int, std::vector< Action > > | key_actions_dict |
holds a dictionary of key values and corresponding Action list. Provides API to resolve the keys
Definition at line 25 of file key_dict.h.
|
inline |
Definition at line 31 of file key_dict.h.
|
inline |
Definition at line 32 of file key_dict.h.
| void rtop::KeyDict::addKeyActions | ( | int | key, |
| std::vector< Action > & | actions | ||
| ) |
add key and corresponding action list to private key-action_list dictionary
Definition at line 121 of file key_dict.h.
|
inline |
Definition at line 34 of file key_dict.h.
| void rtop::KeyDict::resolve | ( | int | key | ) |
resolves the key i.e. based on key input invokes the associated list of Action objects
Definition at line 43 of file key_dict.h.
| void rtop::KeyDict::resolve | ( | int | key, |
| ScreenManager * | pscreen | ||
| ) |
resolves keys with Action lists corresponding to self
Definition at line 62 of file key_dict.h.
| void rtop::KeyDict::resolve | ( | int | key, |
| View * | pview | ||
| ) |
resolves keys with action list corresponding to self.
Definition at line 86 of file key_dict.h.
| void rtop::KeyDict::resolve | ( | int | key, |
| SimplePanelData * | ppanel | ||
| ) |
resolves keys with Action list corresponding to self
Definition at line 95 of file key_dict.h.
|
inline |
Definition at line 33 of file key_dict.h.
|
private |
Definition at line 29 of file key_dict.h.
|
private |
Definition at line 28 of file key_dict.h.
1.8.15