#include <nopfiledescriptorservice.h>
|
using | Callback = std::function< void(int iFd)> |
|
Definition at line 42 of file nopfiledescriptorservice.h.
◆ Callback
◆ DescriptorType
◆ ~NOPFileDescriptorService()
EMANE::NOPFileDescriptorService::~NOPFileDescriptorService |
( |
| ) |
|
◆ addFileDescriptor()
template<typename Function >
void EMANE::FileDescriptorServiceProvider::addFileDescriptor |
( |
int |
iFd, |
|
|
DescriptorType |
type, |
|
|
Function |
fn |
|
) |
| |
|
inherited |
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()
◆ destroy()
Destroys the single instance of type T. Once destroyed it cannot be used or recreated. This is not a thread-safe method.
Definition at line 67 of file singleton.h.
◆ instance()
Provides thread-safe access to a single instance of type T. It does not provide thread-safety for T methods.
- Returns
- A pointer to T
Definition at line 56 of file singleton.h.
◆ removeFileDescriptor()
void EMANE::NOPFileDescriptorService::removeFileDescriptor |
( |
int |
iFd | ) |
|
|
overridevirtual |
The documentation for this class was generated from the following files: