Class template basic_pipe
boost::process::basic_pipe
Synopsis
template<typename CharT, typename Traits>
class basic_pipe {
public:
typedef ;
typedef ;
typedef ;
typedef ;
typedef ;
typedef ;
();
();
();
();
();
();
~();
() ;
() ;
();
();
(, );
(, );
();
();
};
Description
Class implementation of a pipe.
basic_pipe
public
construct/copy/destruct
-
();
Default construct the pipe. Will be opened.
-
( name);
Construct a named pipe.
-
( p);
Copy construct the pipe.
![[Note]](../../../../doc/src/images/note.png) |
Note |
Duplicated the handles. |
-
( lhs);
Move construct the pipe.
-
( p);
Copy assign the pipe.
![[Note]](../../../../doc/src/images/note.png) |
Note |
Duplicated the handles. |
-
( lhs);
Move assign the pipe.
-
~();
Destructor closes the handles.
basic_pipe public member functions
-
() ;
Get the native handle of the source.
-
() ;
Get the native handle of the sink.
-
( h);
Assign a new value to the source
-
( h);
Assign a new value to the sink
-
( data, count);
Write data to the pipe.
-
( data, count);
Read data from the pipe.
-
();
Check if the pipe is open.
-
();
Close the pipe.