EDT PCD SDK Documentation 6.1.0
edt_event_handler Struct Reference

#include <libedt.h>

Collaboration diagram for edt_event_handler:

Data Fields

struct edt_event_handlernext
 
EdtEventFunc callback
 
struct edt_device * owner
 
void * data
 
u_char active
 
u_char continuous
 
thread_t wait_thread
 
event_t wait_event
 
event_t closing_event
 
uint_t thrdid
 
pthread_t thrdid
 

Detailed Description

Event handler configuration.

Field Documentation

◆ next

struct edt_event_handler* edt_event_handler::next

In case we want linked lists.

◆ callback

EdtEventFunc edt_event_handler::callback

Function to call when event occurs.

◆ owner

struct edt_device* edt_event_handler::owner

Reflexive pointer.

◆ data

void* edt_event_handler::data

Closure pointer for callback.

◆ active

u_char edt_event_handler::active

Flag for a graceful death.

◆ continuous

u_char edt_event_handler::continuous

Flag for continuing events.

◆ wait_thread

thread_t edt_event_handler::wait_thread

Thread handle.

◆ wait_event

event_t edt_event_handler::wait_event

Kernel event handle.

◆ closing_event

event_t edt_event_handler::closing_event

Abort event handle.

◆ thrdid [1/2]

uint_t edt_event_handler::thrdid

Thread id number.

◆ thrdid [2/2]

pthread_t edt_event_handler::thrdid

Thread id number.


The documentation for this struct was generated from the following file: