#include <Descriptor.h>
Definition at line 29 of file Descriptor.h.
◆ Descriptor() [1/4]
core::Descriptor::Descriptor |
( |
| ) |
|
|
delete |
◆ Descriptor() [2/4]
core::Descriptor::Descriptor |
( |
const Descriptor & | d | ) |
|
|
delete |
◆ Descriptor() [3/4]
core::Descriptor::Descriptor |
( |
int | fd | ) |
|
|
explicitprotected |
◆ Descriptor() [4/4]
core::Descriptor::Descriptor |
( |
Descriptor && | descriptor | ) |
|
|
protectednoexcept |
Definition at line 36 of file Descriptor.cpp.
36 {
37 fd = std::exchange(descriptor.fd, -1);
38 }
References fd.
◆ ~Descriptor()
core::Descriptor::~Descriptor |
( |
| ) |
|
|
protectedvirtual |
◆ getFd()
int core::Descriptor::getFd |
( |
| ) |
const |
◆ operator=() [1/3]
◆ operator=() [2/3]
Definition at line 40 of file Descriptor.cpp.
40 {
41 fd = std::exchange(descriptor.fd, -1);
42
43 return *this;
44 }
References fd.
◆ operator=() [3/3]
Descriptor & core::Descriptor::operator= |
( |
int | fd | ) |
|
Definition at line 46 of file Descriptor.cpp.
46 {
48
49 return *this;
50 }
References fd.
◆ fd
int core::Descriptor::fd = -1 |
|
private |
The documentation for this class was generated from the following files: