The Pedigree Project  0.1
Public Attributes | List of all members
InputManager::CallbackItem Struct Reference
+ Collaboration diagram for InputManager::CallbackItem:

Public Attributes

callback_t func
 The handler function.
 
ThreadpThread
 
uintptr_t nParam
 
CallbackType filter
 Filter for this callback.
 
void * meta
 Meta pointer for the InputNotifications we generate.
 

Detailed Description

Item in the callback list. This stores information that may be needed to create and send an Event for a userspace callback.

Definition at line 166 of file InputManager.h.

Member Data Documentation

uintptr_t InputManager::CallbackItem::nParam

Parameter to put into the serialised buffer sent to userspace. Typically holds the address of a userspace callback.

Definition at line 180 of file InputManager.h.

Referenced by InputManager::installCallback().

Thread* InputManager::CallbackItem::pThread

Thread to send an Event to. If null, the Event will be sent to the current thread, which is only valid for kernel callbacks (as there will be no address space switch for a call to a kernel function).

Definition at line 175 of file InputManager.h.

Referenced by InputManager::installCallback().


The documentation for this struct was generated from the following file: