Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
Loading...
Searching...
No Matches
CFDEventMonitor::MonitoredFD Struct Reference

#include <FDEventMonitor.h>

Public Member Functions

 MonitoredFD (int fd_, short events_, EventCallback callback_, void *callbackData_)
 
 MonitoredFD ()=default
 

Public Attributes

int fd = -1
 
short events = 0
 
EventCallback callback = nullptr
 
voidcallbackData = nullptr
 

Constructor & Destructor Documentation

◆ MonitoredFD() [1/2]

CFDEventMonitor::MonitoredFD::MonitoredFD ( int fd_,
short events_,
EventCallback callback_,
void * callbackData_ )
inline

data parameter for EventCallback

◆ MonitoredFD() [2/2]

CFDEventMonitor::MonitoredFD::MonitoredFD ( )
default

Member Data Documentation

◆ callback

EventCallback CFDEventMonitor::MonitoredFD::callback = nullptr

◆ callbackData

void* CFDEventMonitor::MonitoredFD::callbackData = nullptr

Callback to be called on events

◆ events

short CFDEventMonitor::MonitoredFD::events = 0

Events to be monitored (see poll(2))

◆ fd

int CFDEventMonitor::MonitoredFD::fd = -1

File descriptor to be monitored


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