EDT PDV SDK Documentation 6.2.0
edt_event_handler Struct Reference

#include <libedt.h>

Data Fields

struct edt_event_handlernext
 
EdtEventFunc callback
 
struct edt_device * owner
 
void * data
 
uint8_t active
 
uint8_t continuous
 
thread_t wait_thread
 
event_t wait_event
 
event_t closing_event
 
uint32_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

uint8_t edt_event_handler::active

Flag for a graceful death.

◆ continuous

uint8_t 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]

uint32_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: