#include <mmsinputlishandler.h>
Public Member Functions | |
MMSInputLISHandler (MMS_INPUT_DEVICE device) | |
~MMSInputLISHandler () | |
void | grabEvents (MMSInputEvent *inputevent) |
Private Member Functions | |
bool | checkDevice () |
void | getDevices () |
bool | addEvent (MMSInputEvent *inputevent) |
Private Attributes | |
MMSINPUTLISHANDLER_DEV | devices [MMSINPUTLISHANDLER_MAX_DEVICES] |
available input devices | |
int | devcnt |
number of available input devices | |
MMSInputEvent | ie_buffer [MMSINPUTLISHANDLER_EVENT_BUFFER_SIZE] |
event ring buffer | |
unsigned char | ie_count |
current number of events in ring buffer | |
unsigned char | ie_read_pos |
event ring buffer, read pos | |
unsigned char | ie_write_pos |
event ring buffer, write pos | |
class MMSInputLISThread * | listhread |
MMSMutex | lock |
lock | |
Friends | |
class | MMSInputLISThread |
Definition at line 70 of file mmsinputlishandler.h.
MMSInputLISHandler::MMSInputLISHandler | ( | MMS_INPUT_DEVICE | device | ) |
Definition at line 44 of file mmsinputlishandler.cpp.
MMSInputLISHandler::~MMSInputLISHandler | ( | ) |
Definition at line 66 of file mmsinputlishandler.cpp.
bool MMSInputLISHandler::checkDevice | ( | ) | [private] |
Definition at line 73 of file mmsinputlishandler.cpp.
void MMSInputLISHandler::getDevices | ( | ) | [private] |
Definition at line 186 of file mmsinputlishandler.cpp.
bool MMSInputLISHandler::addEvent | ( | MMSInputEvent * | inputevent | ) | [private] |
Definition at line 194 of file mmsinputlishandler.cpp.
void MMSInputLISHandler::grabEvents | ( | MMSInputEvent * | inputevent | ) | [virtual] |
friend class MMSInputLISThread [friend] |
Definition at line 107 of file mmsinputlishandler.h.
MMSINPUTLISHANDLER_DEV MMSInputLISHandler::devices[MMSINPUTLISHANDLER_MAX_DEVICES] [private] |
int MMSInputLISHandler::devcnt [private] |
MMSInputEvent MMSInputLISHandler::ie_buffer[MMSINPUTLISHANDLER_EVENT_BUFFER_SIZE] [private] |
unsigned char MMSInputLISHandler::ie_count [private] |
unsigned char MMSInputLISHandler::ie_read_pos [private] |
unsigned char MMSInputLISHandler::ie_write_pos [private] |
class MMSInputLISThread* MMSInputLISHandler::listhread [private] |
Definition at line 91 of file mmsinputlishandler.h.
MMSMutex MMSInputLISHandler::lock [private] |