libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
BaseLib::FileDescriptorManager Class Reference

#include <FileDescriptorManager.h>

Classes

struct  OpaquePointer
 

Public Member Functions

 FileDescriptorManager ()
 
 FileDescriptorManager (const FileDescriptorManager &)=delete
 
 FileDescriptorManager (FileDescriptorManager &&) noexcept
 
FileDescriptorManageroperator= (const FileDescriptorManager &)=delete
 
 ~FileDescriptorManager ()
 
void dispose ()
 
PFileDescriptor add (int fileDescriptor)
 
PFileDescriptor add (int file_descriptor, int epoll_file_descriptor, uint32_t epoll_events)
 
void remove (PFileDescriptor &descriptor)
 
void close (PFileDescriptor &descriptor)
 
void shutdown (PFileDescriptor &descriptor)
 
PFileDescriptor get (int fileDescriptor)
 
bool isValid (int fileDescriptor, int32_t id)
 
bool isValid (const PFileDescriptor &descriptor)
 
int32_t getMax ()
 
std::unique_lock< std::mutex > getLock ()
 

Constructor & Destructor Documentation

§ FileDescriptorManager() [1/3]

BaseLib::FileDescriptorManager::FileDescriptorManager ( )

§ FileDescriptorManager() [2/3]

BaseLib::FileDescriptorManager::FileDescriptorManager ( const FileDescriptorManager )
delete

§ FileDescriptorManager() [3/3]

BaseLib::FileDescriptorManager::FileDescriptorManager ( FileDescriptorManager &&  )
defaultnoexcept

§ ~FileDescriptorManager()

BaseLib::FileDescriptorManager::~FileDescriptorManager ( )

Member Function Documentation

§ add() [1/2]

PFileDescriptor BaseLib::FileDescriptorManager::add ( int  fileDescriptor)

§ add() [2/2]

PFileDescriptor BaseLib::FileDescriptorManager::add ( int  file_descriptor,
int  epoll_file_descriptor,
uint32_t  epoll_events 
)

§ close()

void BaseLib::FileDescriptorManager::close ( PFileDescriptor descriptor)

§ dispose()

void BaseLib::FileDescriptorManager::dispose ( )

§ get()

PFileDescriptor BaseLib::FileDescriptorManager::get ( int  fileDescriptor)

§ getLock()

std::unique_lock< std::mutex > BaseLib::FileDescriptorManager::getLock ( )

§ getMax()

int32_t BaseLib::FileDescriptorManager::getMax ( )

§ isValid() [1/2]

bool BaseLib::FileDescriptorManager::isValid ( int  fileDescriptor,
int32_t  id 
)

§ isValid() [2/2]

bool BaseLib::FileDescriptorManager::isValid ( const PFileDescriptor descriptor)

§ operator=()

FileDescriptorManager& BaseLib::FileDescriptorManager::operator= ( const FileDescriptorManager )
delete

§ remove()

void BaseLib::FileDescriptorManager::remove ( PFileDescriptor descriptor)

§ shutdown()

void BaseLib::FileDescriptorManager::shutdown ( PFileDescriptor descriptor)

The documentation for this class was generated from the following files: