#include <modifierButtons.h>
Private Types | |
typedef unsigned long | BitmaskType |
Private Member Functions | |
ModifierButtons (const ModifierButtons ©) | |
~ModifierButtons () | |
INLINE void | operator= (const ModifierButtons ©) |
INLINE bool | operator== (const ModifierButtons &other) const |
INLINE bool | operator!= (const ModifierButtons &other) const |
INLINE bool | operator< (const ModifierButtons &other) const |
bool | matches (const ModifierButtons &other) const |
bool | add_button (ButtonHandle button) |
bool | has_button (ButtonHandle button) const |
bool | remove_button (ButtonHandle button) |
INLINE int | get_num_buttons () const |
INLINE ButtonHandle | get_button (int index) const |
bool | button_down (ButtonHandle button) |
bool | button_up (ButtonHandle button) |
INLINE bool | add_event (const ButtonEvent &event) |
INLINE void | all_buttons_up () |
bool | is_down (ButtonHandle button) const |
INLINE bool | is_down (int index) const |
INLINE bool | is_any_down () const |
string | get_prefix () const |
void | output (ostream &out) const |
void | write (ostream &out) const |
void | modify_button_list () |
PTA (ButtonHandle) _button_list | |
Private Attributes | |
PUBLISHED | __pad0__: ModifierButtons() |
BitmaskType | _state |
|
Definition at line 72 of file modifierButtons.h. Referenced by remove_button(). |
|
Definition at line 41 of file modifierButtons.cxx. |
|
Definition at line 53 of file modifierButtons.cxx. |
|
Definition at line 116 of file modifierButtons.cxx. References has_button(), modify_button_list(), and ButtonHandle::none(). Referenced by WindowFramework::enable_keyboard(). |
|
Referenced by MouseWatcher::do_transmit_data(), DriveInterface::do_transmit_data(), and ButtonEventList::update_mods(). |
|
Referenced by DriveInterface::reset(). |
|
Definition at line 199 of file modifierButtons.cxx. References _state. Referenced by ButtonThrower::do_transmit_data(). |
|
Definition at line 221 of file modifierButtons.cxx. References _state. Referenced by ButtonThrower::do_transmit_data(). |
|
|
|
Referenced by matches(). |
|
Definition at line 258 of file modifierButtons.cxx. References _state. Referenced by ButtonThrower::do_transmit_data(), and MouseWatcher::throw_event_pattern(). |
|
Definition at line 144 of file modifierButtons.cxx. References PTA(). Referenced by add_button(), and MouseWatcher::throw_event_pattern(). |
|
Referenced by DriveInterface::do_transmit_data(), and MouseWatcherParameter::output(). |
|
|
|
Definition at line 240 of file modifierButtons.cxx. References _state. Referenced by Trackball::do_transmit_data(), and matches(). |
|
Definition at line 66 of file modifierButtons.cxx. References _state, get_num_buttons(), and is_down(). Referenced by ButtonThrower::add_throw_button(), ButtonThrower::has_throw_button(), and ButtonThrower::remove_throw_button(). |
|
Definition at line 319 of file modifierButtons.cxx. References PTA(). Referenced by add_button(), and remove_button(). |
|
|
|
|
|
|
|
|
|
Definition at line 277 of file modifierButtons.cxx. References _state. Referenced by operator<<(). |
|
Referenced by has_button(), and modify_button_list(). |
|
Definition at line 164 of file modifierButtons.cxx. References _state, BitmaskType, and modify_button_list(). |
|
Definition at line 295 of file modifierButtons.cxx. References _state. |
|
Definition at line 36 of file modifierButtons.h. |
|
Definition at line 73 of file modifierButtons.h. Referenced by button_down(), button_up(), get_prefix(), is_down(), matches(), output(), remove_button(), and write(). |