The Pedigree Project
0.1
|
Public Member Functions | |
InputEvent (InputManager::InputNotification *pNote, uintptr_t param, uintptr_t handlerAddress) | |
virtual size_t | serialize (uint8_t *pBuffer) |
virtual size_t | getNumber () |
InputManager::CallbackType | getType () |
uint64_t | getKey () |
ssize_t | getRelX () |
ssize_t | getRelY () |
ssize_t | getRelZ () |
void | getButtonStates (bool states[64], size_t maxDesired=64) |
![]() | |
Event (uintptr_t handlerAddress, bool isDeletable, size_t specificNestingLevel=~0UL) | |
virtual bool | isDeletable () |
uintptr_t | getHandlerAddress () |
size_t | getSpecificNestingLevel () |
Event (const Event &other) | |
Event & | operator= (const Event &other) |
void | registerThread (Thread *thread) |
void | deregisterThread (Thread *thread) |
size_t | pendingCount () |
virtual void | waitForDeliveries () |
Static Public Member Functions | |
static bool | unserialize (uint8_t *pBuffer, InputEvent &event) |
![]() | |
static uintptr_t | getTrampoline () |
static uintptr_t | getSecondaryTrampoline () |
static uintptr_t | getHandlerBuffer () |
static uintptr_t | getLastHandlerBuffer () |
static bool | unserialize (uint8_t *pBuffer, Event &event) |
static size_t | getEventType (uint8_t *pBuffer) |
Private Attributes | |
InputManager::InputNotification | m_Notification |
uintptr_t | m_nParam |
Additional Inherited Members | |
![]() | |
uintptr_t | m_HandlerAddress |
bool | m_bIsDeletable |
size_t | m_NestingLevel |
size_t | m_Magic |
List< Thread * > | m_Threads |
Spinlock | m_Lock |
Definition at line 36 of file InputManager.cc.
|
virtual |
|
virtual |
Given a buffer EVENT_LIMIT bytes long, take the variables present in this object and convert them to a binary form.
It can be assumed that this function will only be called when the Event is about to be dispatched, and so the inhibited mask of the current Thread is available to be changed to what the event handler requires. This change will be undone when the handler completes.
pBuffer | The buffer to serialize to. |
Implements Event.
Definition at line 378 of file InputManager.cc.