Represents a pipe.
More...
#include <pipe_decl.hxx>
Detailed Description
Constructor & Destructor Documentation
Does not create a pipe.
Use assignment operator to make this a useable pipe.
Creates an insecure pipe that is accessible for all users.
- Parameters
-
Creates a secure pipe that access depends on the umask settings.
- Parameters
-
strName | |
Options | |
rSecurity | |
osl::Pipe::Pipe |
( |
const Pipe & |
pipe | ) |
|
|
inline |
Constructs a Pipe reference without acquiring the handle.
Creates pipe as wrapper around the underlying oslPipe.
- Parameters
-
Destructor.
Destroys the underlying oslPipe.
Member Function Documentation
Accept connection on an existing pipe.
void osl::Pipe::clear |
( |
| ) |
|
|
inline |
releases the underlying handle
void osl::Pipe::close |
( |
| ) |
|
|
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.
- Parameters
-
- Returns
- True if socket was successfully created.
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.
- Parameters
-
- Returns
- True if socket was successfully created.
Delivers a constant decribing the last error for the pipe system.
- Returns
- ENONE if no error occurred, invalid_PipeError if an unknown (unmapped) error occurred, otherwise an enum describing the error.
oslPipe osl::Pipe::getHandle |
( |
| ) |
const |
|
inline |
Checks if the pipe is valid.
- Returns
- True if the object represents a valid pipe.
Pipe & osl::Pipe::operator= |
( |
const Pipe & |
pipe | ) |
|
|
inline |
Assignment operator.
If pipe was already created, the old one will be discarded.
Reimplemented in osl::StreamPipe.
Assignment operator.
If pipe was already created, the old one will be discarded.
Reimplemented in osl::StreamPipe.
Member Data Documentation
The documentation for this class was generated from the following files: