34 #ifndef EMANEFILEDESCRIPTORSERVICEPROVIDER_HEADER_ 35 #define EMANEFILEDESCRIPTORSERVICEPROVIDER_HEADER_ 68 template <
typename Function>
93 #endif // EMANEFILEDESCRIPTORSERVICEPROVIDER_HEADER_ void addFileDescriptor(int iFd, DescriptorType type, Function fn)
std::function< void(int iFd)> Callback
File Descriptor service interface allows for adding arbitrary file descriptors for read or write proc...
virtual void addFileDescriptor_i(int iFd, DescriptorType type, Callback callback)=0
FileDescriptorServiceProvider()
virtual ~FileDescriptorServiceProvider()
virtual void removeFileDescriptor(int iFd)=0