14#include <AUI/Traits/values.h>
33 using pipe_t = HANDLE;
40 operator=(std::move(rhs));
44 Pipe& operator=(
Pipe&& rhs)
noexcept {
47 rhs.mIn = rhs.mOut =
static_cast<pipe_t
>(0);
56 pipe_t
out() const noexcept {
64 pipe_t
in() const noexcept {
68 void closeOut() noexcept;
69 void closeIn() noexcept;
Unix pipe RAII wrapper.
Definition: Pipe.h:30
pipe_t stealIn() noexcept
Steals ownership of the in pipe outside of the Pipe class.
Definition: Pipe.h:89
pipe_t stealOut() noexcept
Steals ownership of the out pipe outside of the Pipe class.
Definition: Pipe.h:77
pipe_t in() const noexcept
In pipe. Also known as pipe[1].
Definition: Pipe.h:64
pipe_t out() const noexcept
Out pipe. Also known as pipe[0].
Definition: Pipe.h:56
Forbids copy of your class.
Definition: values.h:40