<html> <head> <title>class Pipe</title> <link rel="stylesheet" type="text/css" href="../../cpp.css"> </head> <body> <div id="adc-cppref"> <a name="_top_"> </a><table class="navimain" border="0" cellpadding="1" cellspacing="0"> <tr align="center" valign="top"> <td class="navimain"> <a href="../../index.html">Overview</a> </td> <td class="navimain"> <a href="index.html">Namespace</a> </td> <td class="navimainself"> Class </td> <td class="navimain"> <a href="../../index-files/index-1.html">Index</a> </td> <td class="navimain"> <a href="../../help.html">Help</a> </td> </tr> </table> <table class="navisub" cellpadding="0" cellspacing="3"> <tr> <td width="20%"><font size="-2">PUBLIC MEMBERS:</font></td> <td> <font size="-2">CLASSES</font> | <font size="-2">STRUCTS</font> | <font size="-2">UNIONS</font> | <font size="-2">ENUMS</font> | <font size="-2">TYPEDEFS</font> | <a href="#publ_ops"><font size="-2"><b>METHODS</b></font></a> | <font size="-2">STATIC METHODS</font> | <font size="-2">DATA</font> | <font size="-2">STATIC DATA</font></td> </tr> <tr> <td width="20%"><font size="-2">PROTECTED MEMBERS:</font></td> <td> <font size="-2">CLASSES</font> | <font size="-2">STRUCTS</font> | <font size="-2">UNIONS</font> | <font size="-2">ENUMS</font> | <font size="-2">TYPEDEFS</font> | <font size="-2">METHODS</font> | <font size="-2">STATIC METHODS</font> | <a href="#prot_vars"><font size="-2"><b>DATA</b></font></a> | <font size="-2">STATIC DATA</font></td> </tr> </table> <hr> <a href="../../names/index.html" alt="Global Namespace in C++"><font size="+1"><b>::</b></font></a> <a href="index.html" alt="namespace"><font size="+1"><b>osl</b></font></a><font size="+1"> :: </font><div class="title"><h2>class Pipe</h2> </div><hr> <dl> <dt>Base Classes</dt> <dd>None.</dd> </dl> <dl> <dt>Known Derived Classes</dt> <dd><a href="c-StreamPipe.html">StreamPipe</a><br> </dd> </dl> <br> <table class="flag-table" border="1" cellspacing="0"> <tr> <td width="25%" class="flagname">virtual</td> <td width="25%" class="flagname">abstract</td> <td width="25%" class="flagname">interface</td> <td width="25%" class="flagname">template</td> </tr> <tr> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> <td class="flagno">NO</td> </tr> </table> <dl> <dt>Summary</dt> <dd>Represents a pipe. </dd> </dl> <dl> <dt>File</dt> <dd>pipe_decl.hxx</dd> </dl> <hr> <dl> <dt class="subtitle"><a name="publ_"><h3>Public Members</h3> </a></dt> <dd><a name="publ_ops"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%"> <tr class="subtitle"> <td colspan="2"><h4>Methods</h4> </td> </tr> <tr> <td> <br> <a href="Pipe/o.html#Pipe-486">Pipe</a>( );</td> <td width="50%"> Does not create a pipe. Use assignment operator to make this a useable pipe. </td> </tr> <tr> <td> <br> <a href="Pipe/o.html#Pipe-487">Pipe</a>( const ::rtl::OUString & strName, oslPipeOptions Options );</td> <td width="50%"> Creates an insecure pipe that is accessible for all users. </td> </tr> <tr> <td> <br> <a href="Pipe/o.html#Pipe-488">Pipe</a>( const ::rtl::OUString & strName, oslPipeOptions Options, const Security & rSecurity );</td> <td width="50%"> Creates a secure pipe that access depends on the umask settings. </td> </tr> <tr> <td> <br> <a href="Pipe/o.html#Pipe-489">Pipe</a>( const Pipe & pipe );</td> <td width="50%"> Copy constructor. </td> </tr> <tr> <td> <br> <a href="Pipe/o.html#Pipe-490">Pipe</a>( oslPipe pipe, __sal_NoAcquire noacquire );</td> <td width="50%"> Constructs a Pipe reference without acquiring the handle </td> </tr> <tr> <td> <br> <a href="Pipe/o.html#Pipe-491">Pipe</a>( oslPipe Pipe );</td> <td width="50%"> Creates pipe as wrapper around the underlying oslPipe. </td> </tr> <tr> <td> <br> <a href="Pipe/o.html#~Pipe-492">~Pipe</a>( );</td> <td width="50%"> Destructor. Destroys the underlying oslPipe. </td> </tr> <tr> <td>sal_Bool <br> <a href="Pipe/o.html#is-493">is</a>( ) const;</td> <td width="50%"> </td> </tr> <tr> <td>sal_Bool <br> <a href="Pipe/o.html#create-494">create</a>( const ::rtl::OUString & strName, oslPipeOptions Options, const Security & rSec );</td> <td width="50%"> </td> </tr> <tr> <td>sal_Bool <br> <a href="Pipe/o.html#create-495">create</a>( const ::rtl::OUString & strName, oslPipeOptions Options = osl_Pipe_OPEN );</td> <td width="50%"> Creates a secure that access rights depend on the umask settings with the given attributes. </td> </tr> <tr> <td>void <br> <a href="Pipe/o.html#clear-496">clear</a>( );</td> <td width="50%"> releases the underlying handle </td> </tr> <tr> <td>Pipe & <br> <a href="Pipe/o.html#operator=-497">operator=</a>( const Pipe & pipe );</td> <td width="50%"> Assignment operator. If pipe was already created, the old one will be discarded. </td> </tr> <tr> <td>Pipe & <br> <a href="Pipe/o.html#operator=-498">operator=</a>( const oslPipe pipe );</td> <td width="50%"> Assignment operator. If pipe was already created, the old one will be discarded. </td> </tr> <tr> <td>sal_Bool <br> <a href="Pipe/o.html#isValid-499">isValid</a>( ) const;</td> <td width="50%"> Checks if the pipe is valid. </td> </tr> <tr> <td>sal_Bool <br> <a href="Pipe/o.html#operator==-500">operator==</a>( const Pipe & rPipe ) const;</td> <td width="50%"> </td> </tr> <tr> <td>void <br> <a href="Pipe/o.html#close-501">close</a>( );</td> <td width="50%"> Closes the pipe. </td> </tr> <tr> <td>oslPipeError <br> <a href="Pipe/o.html#accept-502">accept</a>( StreamPipe & Connection );</td> <td width="50%"> Accept connection on an existing pipe </td> </tr> <tr> <td>oslPipeError <br> <a href="Pipe/o.html#getError-503">getError</a>( ) const;</td> <td width="50%"> Delivers a constant decribing the last error for the pipe system. </td> </tr> <tr> <td>oslPipe <br> <a href="Pipe/o.html#getHandle-504">getHandle</a>( ) const;</td> <td width="50%"> </td> </tr> </table> <hr> </dd> </dl> <dl> <dt class="subtitle"><a name="prot_"><h3>Protected Members</h3> </a></dt> <dd><a name="prot_vars"> </a><table class="childlist" border="1" cellpadding="5" cellspacing="0" width="100%"> <tr class="subtitle"> <td colspan="2"><h4>Data</h4> </td> </tr> <tr bgcolor="white"> <td><a href="../t-oslPipe.html">oslPipe</a> <a href="Pipe/d.html#m_handle"><strong>m_handle;</strong></a></td> <td/></tr> </table> <hr> </dd> </dl> <a href="#_top_" class="objchapter">Top of Page</a><hr size="3"><p class="copyright" align="center">Copyright © 2011, Oracle and/or its affiliates. All rights reserved. Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names may be trademarks of their respective owners.</p> </div> <!-- id="adc-cppref" --> </body> </html>