Public Methods |
| | CL_InputBuffer () |
| | CL_InputBuffer (CL_InputDevice *device) |
| | CL_InputBuffer (CL_Signal_v4< CL_Component *, CL_InputDevice *, CL_Key, bool &> &sig_key_down, CL_Signal_v3< CL_Component *, CL_InputDevice *, CL_Key > &sig_key_up) |
| virtual | ~CL_InputBuffer () |
| CL_Key | peek_key () const |
| CL_Key | get_key () |
| int | keys_left () |
| void | clear () |
| | retval: Number of key values lefts in buffer.
|
Private Methods |
| void | on_button_press (CL_InputDevice *device, const CL_Key &key) |
| void | on_button_release (CL_InputDevice *device, const CL_Key &key) |
| void | on_key_down (CL_Component *, CL_InputDevice *device, CL_Key key, bool &retval) |
| void | on_key_up (CL_Component *, CL_InputDevice *device, CL_Key key) |
Private Attributes |
| CL_Slot | slot_button_press |
| CL_Slot | slot_button_release |
| CL_Slot | slot_key_down |
| CL_Slot | slot_key_up |
| std::queue<CL_Key> | buffer |
| CL_InputDevice* | device |