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 namespace boost::process::posix
13 {
14 
15  struct pipe
16  {
17  int source;
18  int sink;
19 
20  pipe(int source, int sink) : source(source), sink(sink) {}
21  };
22 
23  inline pipe make_pipe(int source, int sink)
24  {
25  return pipe(source, sink);
26  }
27 
28 }
boost::process::posix::make_pipe
pipe make_pipe(int source, int sink)
Definition: pipe.hpp:23
boost::process::posix::pipe
Definition: pipe.hpp:15
boost::process::posix::pipe::pipe
pipe(int source, int sink)
Definition: pipe.hpp:20
boost::source
Vertex source(const detail::edge_base< Directed, Vertex > &e, const PCG &)
Definition: point_cloud_graph.h:681
boost::process::posix::pipe::sink
int sink
Definition: pipe.hpp:18
boost::process::posix::pipe::source
int source
Definition: pipe.hpp:17
boost::process::posix
Definition: child.hpp:14