#include <ipc_helpers.hpp>
Definition at line 14 of file ipc_helpers.hpp.
◆ wrapped_fd() [1/4]
sysio::chain::eosvmoc::wrapped_fd::wrapped_fd |
( |
| ) |
|
|
inline |
◆ wrapped_fd() [2/4]
sysio::chain::eosvmoc::wrapped_fd::wrapped_fd |
( |
int | fd | ) |
|
|
inline |
◆ wrapped_fd() [3/4]
sysio::chain::eosvmoc::wrapped_fd::wrapped_fd |
( |
const wrapped_fd & | | ) |
|
|
delete |
◆ wrapped_fd() [4/4]
sysio::chain::eosvmoc::wrapped_fd::wrapped_fd |
( |
wrapped_fd && | other | ) |
|
|
inline |
◆ ~wrapped_fd()
sysio::chain::eosvmoc::wrapped_fd::~wrapped_fd |
( |
| ) |
|
|
inline |
Definition at line 40 of file ipc_helpers.hpp.
40 {
41 if(_inuse)
43 }
void close(T *e, websocketpp::connection_hdl hdl)
◆ operator int()
sysio::chain::eosvmoc::wrapped_fd::operator int |
( |
| ) |
const |
|
inline |
Definition at line 30 of file ipc_helpers.hpp.
30 {
31 FC_ASSERT(_inuse,
"trying to get the value of a not-in-use wrappedfd");
32 return _fd;
33 }
#define FC_ASSERT(TEST,...)
Checks a condition and throws an assert_exception if the test is FALSE.
◆ operator=() [1/2]
◆ operator=() [2/2]
Definition at line 21 of file ipc_helpers.hpp.
21 {
22 if(_inuse)
24 _inuse =
other._inuse;
27 return *this;
28 }
◆ release()
int sysio::chain::eosvmoc::wrapped_fd::release |
( |
| ) |
|
|
inline |
Definition at line 35 of file ipc_helpers.hpp.
35 {
36 _inuse = false;
37 return _fd;
38 }
The documentation for this class was generated from the following file: