AUI Framework
develop
Cross-platform base for C++ UI apps
|
Unix pipe RAII wrapper. More...
#include <AUI/Platform/Pipe.h>
Public Types | |
using | pipe_t = HANDLE |
Public Member Functions | |
Pipe (Pipe &&rhs) noexcept | |
Pipe & | operator= (Pipe &&rhs) noexcept |
pipe_t | out () const noexcept |
Out pipe. Also known as pipe[0]. | |
pipe_t | in () const noexcept |
In pipe. Also known as pipe[1]. | |
void | closeOut () noexcept |
void | closeIn () noexcept |
pipe_t | stealOut () noexcept |
Steals ownership of the out pipe outside of the Pipe class. | |
pipe_t | stealIn () noexcept |
Steals ownership of the in pipe outside of the Pipe class. | |
Public Member Functions inherited from aui::noncopyable | |
noncopyable (const noncopyable &)=delete | |
noncopyable & | operator= (const noncopyable &)=delete |
Unix pipe RAII wrapper.
|
inlinenodiscardnoexcept |
Steals ownership of the in pipe outside of the Pipe class.
Resets the pipe value to zero. Caller is responsible for closing the pipe.
|
inlinenodiscardnoexcept |
Steals ownership of the out pipe outside of the Pipe class.
Resets the pipe value to zero. Caller is responsible for closing the pipe.