trikRuntime
|
Represents event that can be produced by event device. More...
#include <eventInterface.h>
Public Slots | |
virtual EventCodeInterface * | code (int code)=0 |
Returns object that emits only events with specific code. More... | |
Signals | |
void | on (int code, int value, int eventTime) |
Emitted when there is new event in an event file. More... | |
Represents event that can be produced by event device.
This class provides ability to subscribe to specific event of a device, and the ability to subscribe to event with specific code.
|
pure virtualslot |
Returns object that emits only events with specific code.
See evtest output for a list of codes for specific device.
Implemented in trikControl::Event.
|
signal |
Emitted when there is new event in an event file.
code | - code of the event inside a type. |
value | - value sent with the event. |
eventTime | - time stamp of the event, in milliseconds from start of the Unix time (modulo 2^32). |