TDME2
1.9.200
src
tdme
os
network
platform
linux
KernelEventMechanismPSD.h
Go to the documentation of this file.
1
#pragma once
2
3
#include <vector>
4
5
#include <sys/epoll.h>
6
7
#include <
tdme/tdme.h
>
8
#include <
tdme/os/network/fwd-tdme.h
>
9
#include <
tdme/os/network/platform/linux/fwd-tdme.h
>
10
11
using
std::vector;
12
13
/**
14
* Linux kernel event mechanism platform specific data
15
* @author Andreas Drewke
16
*/
17
class
tdme::os::network::platform::_linux::KernelEventMechanismPSD
{
18
friend
class
tdme::os::network::KernelEventMechanism
;
19
20
private
:
21
// forbid class copy
22
FORBID_CLASS_COPY
(
KernelEventMechanismPSD
)
23
24
/**
25
* @brief Public constructor
26
*/
27
KernelEventMechanismPSD
() :
28
ep
(0),
29
epEventListMax
(0) {
30
//
31
}
32
33
int
ep
;
34
unsigned
int
epEventListMax
;
35
vector<epoll_event>
epEventList
;
36
};
tdme::os::network::KernelEventMechanism
Interface to kernel event mechanismns.
Definition:
KernelEventMechanism.h:17
tdme::os::network::platform::_linux::KernelEventMechanismPSD
Linux kernel event mechanism platform specific data.
Definition:
KernelEventMechanismPSD.h:17
tdme::os::network::platform::_linux::KernelEventMechanismPSD::epEventListMax
unsigned int epEventListMax
Definition:
KernelEventMechanismPSD.h:34
tdme::os::network::platform::_linux::KernelEventMechanismPSD::epEventList
vector< epoll_event > epEventList
Definition:
KernelEventMechanismPSD.h:35
tdme::os::network::platform::_linux::KernelEventMechanismPSD::ep
int ep
Definition:
KernelEventMechanismPSD.h:33
fwd-tdme.h
fwd-tdme.h
tdme.h
FORBID_CLASS_COPY
#define FORBID_CLASS_COPY(CLASS)
Definition:
tdme.h:6
Generated by
1.9.1