MMSInputLISHandler Class Reference

#include <mmsinputlishandler.h>

Inheritance diagram for MMSInputLISHandler:

List of all members.


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 MMSInputLISThreadlisthread
MMSMutex lock
 lock

Friends

class MMSInputLISThread

Detailed Description

Definition at line 70 of file mmsinputlishandler.h.


Constructor & Destructor Documentation

MMSInputLISHandler::MMSInputLISHandler ( MMS_INPUT_DEVICE  device  ) 

Definition at line 44 of file mmsinputlishandler.cpp.

MMSInputLISHandler::~MMSInputLISHandler (  ) 

Definition at line 66 of file mmsinputlishandler.cpp.


Member Function Documentation

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]

Reimplemented from MMSInputHandler.

Definition at line 216 of file mmsinputlishandler.cpp.


Friends And Related Function Documentation

friend class MMSInputLISThread [friend]

Definition at line 107 of file mmsinputlishandler.h.


Member Data Documentation

MMSINPUTLISHANDLER_DEV MMSInputLISHandler::devices[MMSINPUTLISHANDLER_MAX_DEVICES] [private]

available input devices

Definition at line 73 of file mmsinputlishandler.h.

number of available input devices

Definition at line 76 of file mmsinputlishandler.h.

MMSInputEvent MMSInputLISHandler::ie_buffer[MMSINPUTLISHANDLER_EVENT_BUFFER_SIZE] [private]

event ring buffer

Definition at line 80 of file mmsinputlishandler.h.

unsigned char MMSInputLISHandler::ie_count [private]

current number of events in ring buffer

Definition at line 83 of file mmsinputlishandler.h.

unsigned char MMSInputLISHandler::ie_read_pos [private]

event ring buffer, read pos

Definition at line 86 of file mmsinputlishandler.h.

unsigned char MMSInputLISHandler::ie_write_pos [private]

event ring buffer, write pos

Definition at line 89 of file mmsinputlishandler.h.

Definition at line 91 of file mmsinputlishandler.h.

lock

Definition at line 94 of file mmsinputlishandler.h.


The documentation for this class was generated from the following files: