pipe.hpp
Go to the documentation of this file.
1 // Copyright (c) 2006, 2007 Julio M. Merino Vidal
2 // Copyright (c) 2008 Ilya Sokolov, Boris Schaeling
3 // Copyright (c) 2009 Boris Schaeling
4 // Copyright (c) 2010 Felipe Tanus, Boris Schaeling
5 // Copyright (c) 2011, 2012 Jeff Flinn, Boris Schaeling
6 //
7 // Distributed under the Boost Software License, Version 1.0. (See accompanying
8 // file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt)
9 
10 #pragma once
11 
12 #include <Windows.h>
13 
15 {
16 
17  struct pipe
18  {
19  HANDLE source;
20  HANDLE sink;
21 
22  pipe(HANDLE source, HANDLE sink) : source(source), sink(sink) {}
23  };
24 
25  inline pipe make_pipe(HANDLE source, HANDLE sink)
26  {
27  return pipe(source, sink);
28  }
29 
30 }
boost::process::windows
Definition: child.hpp:15
boost::process::windows::pipe
Definition: pipe.hpp:17
boost::process::windows::pipe::source
HANDLE source
Definition: pipe.hpp:19
boost::source
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
Definition: point_cloud_graph.h:681
boost::process::windows::make_pipe
pipe make_pipe(HANDLE source, HANDLE sink)
Definition: pipe.hpp:25
boost::process::windows::pipe::pipe
pipe(HANDLE source, HANDLE sink)
Definition: pipe.hpp:22
boost::process::windows::pipe::sink
HANDLE sink
Definition: pipe.hpp:20