#include <signals.h>
Collaboration diagram for SMPSignal:
Public Attributes | |
SMP_SIGNAL_TYPE | type |
uint8_t | dest_port |
uint8_t | ref_count |
union { | |
SMPKeyboardEvent key | |
SMPMouseMotionEvent motion | |
SMPMouseButtonEvent button | |
SMPUserEvent user | |
}; |
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
a keybord event
a mouse motion event
a mouse button event
a user defined signal
union { ... } |
anonymous union of the event(signal) body(contents)