#include <buttonRegistry.h>
Public Member Functions | |
bool | register_button (ButtonHandle &button_handle, const string &name, char ascii_equivalent= '\0') |
ButtonHandle | find_ascii_button (char ascii_equivalent) const |
INLINE string | get_name (ButtonHandle button) const |
void | write (ostream &out) const |
Static Public Member Functions | |
INLINE ButtonRegistry * | ptr () |
Public Attributes | |
PUBLISHED | __pad0__: ButtonHandle get_button(const string &name) |
Private Types | |
typedef pvector< RegistryNode * > | HandleRegistry |
typedef pmap< string, RegistryNode * > | NameRegistry |
Private Member Functions | |
ButtonRegistry () | |
RegistryNode * | look_up (ButtonHandle button) const |
Static Private Member Functions | |
void | init_global_pointer () |
Private Attributes | |
HandleRegistry | _handle_registry |
NameRegistry | _name_registry |
Static Private Attributes | |
ButtonRegistry * | _global_pointer = NULL |
|
Definition at line 72 of file buttonRegistry.h. |
|
Definition at line 75 of file buttonRegistry.h. |
|
Definition at line 179 of file buttonRegistry.cxx. References _handle_registry, and NULL. |
|
Definition at line 138 of file buttonRegistry.cxx. References _handle_registry, ButtonHandle::none(), and NULL. Referenced by KeyboardButton::ascii_key(). |
|
|
|
Definition at line 198 of file buttonRegistry.cxx. References _global_pointer. |
|
Definition at line 209 of file buttonRegistry.cxx. References _handle_registry, ButtonHandle::_index, and NULL. |
|
Referenced by KeyboardButton::ascii_key(), KeyboardButton::init_keyboard_buttons(), and MouseButton::init_mouse_buttons(). |
|
Definition at line 46 of file buttonRegistry.cxx. References ButtonRegistry::RegistryNode::_handle, _handle_registry, ButtonHandle::_index, ButtonRegistry::RegistryNode::_name, _name_registry, index, and NULL. Referenced by KeyboardButton::init_keyboard_buttons(), and MouseButton::init_mouse_buttons(). |
|
Definition at line 152 of file buttonRegistry.cxx. References _handle_registry, _name_registry, and NULL. |
|
Definition at line 52 of file buttonRegistry.h. |
|
Definition at line 29 of file buttonRegistry.cxx. Referenced by init_global_pointer(). |
|
Definition at line 73 of file buttonRegistry.h. Referenced by ButtonRegistry(), find_ascii_button(), look_up(), register_button(), and write(). |
|
Definition at line 76 of file buttonRegistry.h. Referenced by register_button(), and write(). |