SMPSignal Class Reference

the signal object definition More...

#include <signals.h>

Collaboration diagram for SMPSignal:

Collaboration graph
[legend]
List of all members.

Public Attributes

SMP_SIGNAL_TYPE type
uint8_t dest_port
uint8_t ref_count
union {
   SMPKeyboardEvent   key
   SMPMouseMotionEvent   motion
   SMPMouseButtonEvent   button
   SMPUserEvent   user
}; 

Detailed Description

the signal object definition

Note:
there are something to fix, some properties cannot be public!


Member Data Documentation

SMP_SIGNAL_TYPE SMPSignal::type

signal type

uint8_t SMPSignal::dest_port

the destinated port number of the destination filter this signal is going to, should be set by kernel, not meant to be modified by users

uint8_t SMPSignal::ref_count

the reference count, keep the number of un-processed filter number, if it reaches zero, filter should delete this signal, because no one is going to use it now

SMPKeyboardEvent SMPSignal::key

a keybord event

SMPMouseMotionEvent SMPSignal::motion

a mouse motion event

SMPMouseButtonEvent SMPSignal::button

a mouse button event

SMPUserEvent SMPSignal::user

a user defined signal

union { ... }

anonymous union of the event(signal) body(contents)


The documentation for this class was generated from the following file:
Generated on Fri Aug 31 15:41:55 2007 for SCREAMLinuxMiddleware(SLIM) by  doxygen 1.5.1