|
LibreOffice
LibreOffice 26.2 SDK C/C++ API Reference
|
Represents a pipe. More...
#include <pipe_decl.hxx>
Public Member Functions | |
| Pipe () | |
| Does not create a pipe. | |
| Pipe (const ::rtl::OUString &strName, oslPipeOptions Options) | |
| Creates an insecure pipe that is accessible for all users. | |
| Pipe (const ::rtl::OUString &strName, oslPipeOptions Options, const Security &rSecurity) | |
| Creates a secure pipe that access depends on the umask settings. | |
| Pipe (const Pipe &pipe) | |
| Copy constructor. | |
| Pipe (oslPipe pipe, __sal_NoAcquire noacquire) | |
| Constructs a Pipe reference without acquiring the handle. | |
| Pipe (oslPipe Pipe) | |
| Creates pipe as wrapper around the underlying oslPipe. | |
| ~Pipe () | |
| Destructor. | |
| bool | is () const |
| bool | create (const ::rtl::OUString &strName, oslPipeOptions Options, const Security &rSec) |
| Creates an insecure pipe that is accessible for all users with the given attributes. | |
| bool | create (const ::rtl::OUString &strName, oslPipeOptions Options=osl_Pipe_OPEN) |
| Creates a secure that access rights depend on the umask settings with the given attributes. | |
| void | clear () |
| releases the underlying handle | |
| Pipe & | operator= (const Pipe &pipe) |
| Assignment operator. | |
| Pipe & | operator= (const oslPipe pipe) |
| Assignment operator. | |
| bool | isValid () const |
| Checks if the pipe is valid. | |
| bool | operator== (const Pipe &rPipe) const |
| void | close () |
| Closes the pipe. | |
| oslPipeError | accept (StreamPipe &Connection) |
| Accept connection on an existing pipe. | |
| oslPipeError | getError () const |
| Delivers a constant describing the last error for the pipe system. | |
| oslPipe | getHandle () const |
Protected Attributes | |
| oslPipe | m_handle |
Represents a pipe.
|
inline |
Does not create a pipe.
Use assignment operator to make this a usable pipe.
|
inline |
Creates an insecure pipe that is accessible for all users.
| strName | |
| Options |
|
inline |
Creates a secure pipe that access depends on the umask settings.
| strName | |
| Options | |
| rSecurity |
|
inline |
Copy constructor.
|
inline |
Constructs a Pipe reference without acquiring the handle.
|
inline |
Creates pipe as wrapper around the underlying oslPipe.
| Pipe |
|
inline |
Destructor.
Destroys the underlying oslPipe.
|
inline |
Accept connection on an existing pipe.
|
inline |
releases the underlying handle
|
inline |
Closes the pipe.
|
inline |
Creates an insecure pipe that is accessible for all users with the given attributes.
If the pipe was already created, the old one will be discarded.
| strName | |
| Options | |
| rSec |
|
inline |
Creates a secure that access rights depend on the umask settings with the given attributes.
If socket was already created, the old one will be discarded.
| strName | |
| Options |
|
inline |
Delivers a constant describing the last error for the pipe system.
|
inline |
|
inline |
|
inline |
Checks if the pipe is valid.
Assignment operator.
If pipe was already created, the old one will be discarded.
Assignment operator.
If pipe was already created, the old one will be discarded.
|
inline |
|
protected |