| 
    Kodi Documentation 22.0
    
   Kodi is an open source media player and entertainment hub. 
   | 
 
#include <FDEventMonitor.h>
  
Classes | |
| struct | MonitoredFD | 
Public Types | |
| typedef void(*) | EventCallback(int id, int fd, short revents, void *data) | 
Public Member Functions | |
| CFDEventMonitor () | |
| ~CFDEventMonitor () override | |
| void | AddFD (const MonitoredFD &monitoredFD, int &id) | 
| void | AddFDs (const std::vector< MonitoredFD > &monitoredFDs, std::vector< int > &ids) | 
| void | RemoveFD (int id) | 
| void | RemoveFDs (const std::vector< int > &ids) | 
  Public Member Functions inherited from IPlatformService | |
| virtual | ~IPlatformService ()=default | 
Protected Member Functions | |
| void | Process () override | 
Monitor a file descriptor with callback on poll() events.
| CFDEventMonitor::CFDEventMonitor | ( | ) | 
      
  | 
  override | 
| void CFDEventMonitor::AddFD | ( | const MonitoredFD & | monitoredFD, | 
| int & | id ) | 
| void CFDEventMonitor::AddFDs | ( | const std::vector< MonitoredFD > & | monitoredFDs, | 
| std::vector< int > & | ids ) |