Ultibo API
C/C++ API for Ultibo Core
Loading...
Searching...
No Matches
_NOTIFIER Struct Reference

#include <devices.h>

Data Fields

uint32_t signature
 Signature for entry validation.
uint32_t notifierstate
 Notifier state (eg Registered/Unregistered).
uint32_t notifierflags
 Notifier flags (eg NOTIFIER_FLAG_WORKER).
DEVICEdevice
 The Device to notify on (or nil for all devices).
uint32_t deviceclass
 The Device class to notify on (or DEVICE_CLASS_ANY for all devices).
device_notification_cb callback
 The callback for device notifications.
void * data
 A pointer to callback specific data to be passed with notifications (Optional).
uint32_t notification
 The mask of events to notify on (eg DEVICE_NOTIFICATION_REGISTER etc).
NOTIFIERprev
 Previous entry in Notifier table.
NOTIFIERnext
 Next entry in Notifier table.

Field Documentation

◆ signature

uint32_t signature

Signature for entry validation.

◆ notifierstate

uint32_t notifierstate

Notifier state (eg Registered/Unregistered).

◆ notifierflags

uint32_t notifierflags

Notifier flags (eg NOTIFIER_FLAG_WORKER).

◆ device

DEVICE* device

The Device to notify on (or nil for all devices).

◆ deviceclass

uint32_t deviceclass

The Device class to notify on (or DEVICE_CLASS_ANY for all devices).

◆ callback

The callback for device notifications.

◆ data

void* data

A pointer to callback specific data to be passed with notifications (Optional).

◆ notification

uint32_t notification

The mask of events to notify on (eg DEVICE_NOTIFICATION_REGISTER etc).

◆ prev

NOTIFIER* prev

Previous entry in Notifier table.

◆ next

NOTIFIER* next

Next entry in Notifier table.


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