File Descriptor service interface allows for adding arbitrary file descriptors for read or write processing on the NEMQueuedLayer functor queue.
More...
#include <filedescriptorserviceprovider.h>
|
using | Callback = std::function< void(int iFd)> |
|
File Descriptor service interface allows for adding arbitrary file descriptors for read or write processing on the NEMQueuedLayer functor queue.
Definition at line 48 of file filedescriptorserviceprovider.h.
◆ Callback
◆ DescriptorType
◆ ~FileDescriptorServiceProvider()
virtual EMANE::FileDescriptorServiceProvider::~FileDescriptorServiceProvider |
( |
| ) |
|
|
inlinevirtual |
◆ FileDescriptorServiceProvider()
EMANE::FileDescriptorServiceProvider::FileDescriptorServiceProvider |
( |
| ) |
|
|
inlineprotected |
◆ addFileDescriptor()
template<typename Function >
void EMANE::FileDescriptorServiceProvider::addFileDescriptor |
( |
int |
iFd, |
|
|
DescriptorType |
type, |
|
|
Function |
fn |
|
) |
| |
Adds a file descriptor for processing
- Parameters
-
iFd | File descriptor |
type | Type of descriptor processing |
fn | A callable object |
Definition at line 34 of file filedescriptorserviceprovider.inl.
◆ addFileDescriptor_i()
virtual void EMANE::FileDescriptorServiceProvider::addFileDescriptor_i |
( |
int |
iFd, |
|
|
DescriptorType |
type, |
|
|
Callback |
callback |
|
) |
| |
|
protectedpure virtual |
◆ removeFileDescriptor()
virtual void EMANE::FileDescriptorServiceProvider::removeFileDescriptor |
( |
int |
iFd | ) |
|
|
pure virtual |
The documentation for this class was generated from the following files: