libhomegear-base  0.7
Base library for Homegear and Homegear family modules.
FileDescriptorManager.h File Reference
#include <memory>
#include <mutex>
#include <atomic>
#include <sys/epoll.h>
#include <gnutls/gnutls.h>

Go to the source code of this file.

Classes

struct  BaseLib::FileDescriptor
 
class  BaseLib::FileDescriptorManager
 

Namespaces

 BaseLib
 

Typedefs

typedef std::shared_ptr< FileDescriptor > BaseLib::PFileDescriptor
 

Functions

struct BaseLib::FileDescriptor BaseLib::__attribute__ ((aligned(16)))
 

Variables

int32_t id = 0
 
std::atomic_int descriptor {-1}
 
std::atomic_int epoll_descriptor {-1}
 
gnutls_session_t tlsSession = nullptr
 
class BaseLib::FileDescriptorManager BaseLib::__attribute__
 

Variable Documentation

§ descriptor

std::atomic_int descriptor {-1}

§ epoll_descriptor

std::atomic_int epoll_descriptor {-1}

§ id

int32_t id = 0

§ tlsSession

gnutls_session_t tlsSession = nullptr