paludis  Version 2.6.0
pipe.hh
Go to the documentation of this file.
1 /* vim: set sw=4 sts=4 et foldmethod=syntax : */
2 
3 /*
4  * Copyright (c) 2006, 2007, 2010 Ciaran McCreesh
5  * Copyright (c) 2009 David Leverton
6  *
7  * This file is part of the Paludis package manager. Paludis is free software;
8  * you can redistribute it and/or modify it under the terms of the GNU General
9  * Public License version 2, as published by the Free Software Foundation.
10  *
11  * Paludis is distributed in the hope that it will be useful, but WITHOUT ANY
12  * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
13  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
14  * details.
15  *
16  * You should have received a copy of the GNU General Public License along with
17  * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
18  * Place, Suite 330, Boston, MA 02111-1307 USA
19  */
20 
21 #ifndef PALUDIS_GUARD_PALUDIS_UTIL_PIPE_HH
22 #define PALUDIS_GUARD_PALUDIS_UTIL_PIPE_HH 1
23 
24 #include <paludis/util/channel.hh>
25 
26 /** \file
27  * Declaration for the Pipe class.
28  *
29  * \ingroup g_system
30  *
31  * \section Examples
32  *
33  * - None at this time.
34  */
35 
36 namespace paludis
37 {
38  /**
39  * Wrapper around pipe file descriptors.
40  *
41  * \ingroup g_system
42  * \nosubgrouping
43  */
45  public Channel
46  {
47  public:
48  ///\name Basic operations
49  ///\{
50 
51  Pipe();
52 
53  explicit Pipe(const bool close_exec);
54 
55  virtual ~Pipe();
56 
57  ///\}
58 
59  };
60 
61 }
62 
63 #endif
Definition: about_metadata-fwd.hh:23
Definition: pipe.hh:44
Definition: channel.hh:44
#define PALUDIS_VISIBLE
Definition: attributes.hh:59