Represents a pipe.
More...
#include <pipe_decl.hxx>
◆ Pipe() [1/6]
Does not create a pipe.
Use assignment operator to make this a usable pipe.
◆ Pipe() [2/6]
Creates an insecure pipe that is accessible for all users.
- Parameters
-
◆ Pipe() [3/6]
Creates a secure pipe that access depends on the umask settings.
- Parameters
-
strName | |
Options | |
rSecurity | |
◆ Pipe() [4/6]
osl::Pipe::Pipe |
( |
const Pipe & |
pipe | ) |
|
|
inline |
◆ Pipe() [5/6]
Constructs a Pipe reference without acquiring the handle.
◆ Pipe() [6/6]
Creates pipe as wrapper around the underlying oslPipe.
- Parameters
-
◆ ~Pipe()
Destructor.
Destroys the underlying oslPipe.
◆ accept()
Accept connection on an existing pipe.
◆ clear()
void osl::Pipe::clear |
( |
| ) |
|
|
inline |
releases the underlying handle
◆ close()
void osl::Pipe::close |
( |
| ) |
|
|
inline |
◆ create() [1/2]
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.
◆ create() [2/2]
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.
◆ getError()
Delivers a constant describing 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.
◆ getHandle()
oslPipe osl::Pipe::getHandle |
( |
| ) |
const |
|
inline |
◆ is()
bool osl::Pipe::is |
( |
| ) |
const |
|
inline |
◆ isValid()
bool osl::Pipe::isValid |
( |
| ) |
const |
|
inline |
Checks if the pipe is valid.
- Returns
- True if the object represents a valid pipe.
◆ operator=() [1/2]
Pipe & osl::Pipe::operator= |
( |
const Pipe & |
pipe | ) |
|
|
inline |
Assignment operator.
If pipe was already created, the old one will be discarded.
◆ operator=() [2/2]
Assignment operator.
If pipe was already created, the old one will be discarded.
◆ operator==()
bool osl::Pipe::operator== |
( |
const Pipe & |
rPipe | ) |
const |
|
inline |
◆ m_handle
The documentation for this class was generated from the following files: